The player whose turn it is currently. That player can send commands. Other players cannot.
The current turn number, starting at 0 for the first player's turn.
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.
The amount of gold income per turn per unit in a mine.
The amount of gold income per turn per unit in the island mine.
The Amount of gold income per turn per unit fishing on the river side.
The number of Tiles in the map along the y (vertical) axis.
The number of Tiles in the map along the x (horizontal) axis.
The maximum number of turns before the game will automatically end.
List of all the players in the game.
The amount of turns it takes between the river changing phases.
A unique identifier for the game instance that is being played.
All the tiles in the map, stored in Row-major order. Use x + y *
mapWidth
to access the correct index.
The amount of time (in nano-seconds) added after each player performs a turn.
A list of every tower type / job.
Every Tower in the game.
A list of every unit type / job.
Every Unit in the game.
Gets the Tile at a specified (x, y) position
an integer between 0 and the mapWidth
an integer between 0 and the mapHeight
the Tile at (x, y) or null if out of bounds
Generated using TypeDoc
Send hordes of the undead at your opponent while defending yourself against theirs to win.