The range of this Structure's effect. For example, a radius of 1 means this Structure affects a 3x3 square centered on this Structure.
String representing the top level Class that this game object is an instance of. Used for reflection to create new instances on clients, but exposed for convenience should AIs want this data.
A unique id for each instance of a GameObject or a sub class. Used for client and server communication. Should never change value after being set.
Any strings logged will be stored here. Intended for debugging.
The number of materials in this Structure. Once this number reaches 0, this Structure is destroyed.
The owner of this Structure if any, otherwise null.
The Tile this Structure is on.
The type of Structure this is ('shelter', 'monument', 'wall', 'road', 'neutral').
Adds a message to this GameObject's logs. Intended for your own debugging purposes, as strings stored here are saved in the gamelog.
A string to add to this GameObject's log. Intended for debugging.
A toString override for easier debugging.
A human readable representation of the game object.
Generated using TypeDoc
A structure on a Tile.