Package com.prineside.tdi2
Class Gate.Pos
java.lang.Object
com.prineside.tdi2.Gate.Pos
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,MapElementPos
- Enclosing class:
- Gate
public static class Gate.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, boolean left) boolean
isLeft()
void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
void
setLeft
(boolean left) 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, boolean isLeft)
-
-
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) -
isLeft
public boolean isLeft() -
setLeft
public void setLeft(boolean left) -
is
public boolean is(int x, int y, boolean left) -
toString
-
equals
-
hashCode
public int hashCode()
-