Modifier and Type | Field and Description |
---|---|
int |
cellId |
java.lang.String |
levelId |
int |
x |
int |
y |
Constructor and Description |
---|
Position() |
Position(Position pos) |
Position(java.lang.String _levelId,
int _cellId) |
Position(java.lang.String _levelId,
int _x,
int _y) |
Modifier and Type | Method and Description |
---|---|
void |
computeCell(Level level) |
boolean |
dontPack() |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
public int cellId
public java.lang.String levelId
public int x
public int y
public Position(java.lang.String _levelId, int _cellId)
public Position(java.lang.String _levelId, int _x, int _y)
public Position(Position pos)
public Position()
public void restoreFromBundle(Bundle bundle)
restoreFromBundle
in interface Bundlable
public void storeInBundle(Bundle bundle)
storeInBundle
in interface Bundlable
public void computeCell(Level level)