Package com.prineside.tdi2
Class Tile.Pos
java.lang.Object
com.prineside.tdi2.Tile.Pos
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,MapElementPos
- Enclosing class:
- Tile
public static class Tile.Pos
extends Object
implements com.esotericsoftware.kryo.KryoSerializable, MapElementPos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getX()
int
getY()
int
hashCode()
boolean
is
(int x, int y) void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
void
setX
(int x) void
setY
(int y) toString()
void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
-
Constructor Details
-
Pos
public Pos() -
Pos
-
Pos
-
Pos
public Pos(int x, int y)
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) - Specified by:
write
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) - Specified by:
read
in interfacecom.esotericsoftware.kryo.KryoSerializable
-
set
-
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
is
public boolean is(int x, int y) -
toString
-
equals
-
hashCode
public int hashCode()
-