Package world.mappable.mapkit
Class TileId
java.lang.Object
↳ world.mappable.mapkit.TileId
class TileId implements Serializable
The ID of a tile on the map.
Summary
Constructors
Signature and Description |
TileId(int x, |
TileId() |
Methods
Type and modifiers |
Method and Description |
int |
getX() |
int |
getY() |
int |
getZ() |
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
TileId
TileId(int x, |
TileId
TileId() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getX
int getX() |
The number of the tile horizontally.
getY
int getY() |
The number of the tile vertically.
getZ
int getZ() |
The number of columns and rows to split the map into.
serialize
@Override |