The amount of material the object has, or energy if it is a planet.
The type of celestial body it is. Either 'planet', 'asteroid', or 'sun'.
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 type of material the celestial body has. Either 'none', 'genarium', 'rarium', 'legendarium', or 'mythicite'.
The Player that owns and can control this Body.
The radius of the circle that this body takes up.
The x value this celestial body is on.
The y value this celestial body is on.
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.
The x value of this body a number of turns from now. (0-how many you want).
The number of turns in the future you wish to check.
The x position of the body the input number of turns in the future.
The x value of this body a number of turns from now. (0-how many you want).
The number of turns in the future you wish to check.
The x position of the body the input number of turns in the future.
Spawn a unit on some value of this celestial body.
The x value of the spawned unit.
The y value of the spawned unit.
The job title of the unit being spawned.
True if successfully taken, false otherwise.
A toString override for easier debugging.
A human readable representation of the game object.
Generated using TypeDoc
A celestial body located within the game.