The multiplier for the amount of energy regenerated when resting in a shelter with the cat overlord.
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 turns it takes for a Tile that was just harvested to grow food again.
All the Jobs that Units can have in the game.
The amount that the harvest rate is lowered each season.
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.
The multiplier for the cost of actions when performing them in range of a monument. Does not effect pickup cost.
The number of materials in a monument.
The number of materials in a neutral Structure.
List of all the players in the game.
A unique identifier for the game instance that is being played.
The number of materials in a shelter.
The amount of food Players start with.
The multiplier for the amount of energy regenerated when resting while starving.
Every Structure in the game.
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.
After a food tile is harvested, the number of turns before it can be harvested again.
The number of turns between fresh humans being spawned on the road.
The number of turns before the harvest rate is lowered (length of each season basically).
Every Unit in the game.
The number of materials in a wall.
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
Convert as many humans to as you can to survive in this post-apocalyptic wasteland.