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,
       int y,
       int z)

TileId()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

int

getX()
The number of the tile horizontally.

int

getY()
The number of the tile vertically.

int

getZ()
The number of columns and rows to split the map into.

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

TileId

TileId(int x,
       int y,
       int z)


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
void serialize(world.mappable.runtime.bindings.Archive archive)