Whether or not this Unit has performed its action this turn.
The amount of blueium carried by this unit. (0 to job carry capacity - other carried items).
The amount of blueium ore carried by this unit. (0 to job carry capacity
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.
The remaining health of a unit.
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.
The Job this Unit has.
Any strings logged will be stored here. Intended for debugging.
The number of moves this unit has left this turn.
The Player that owns and can control this Unit.
The amount of redium carried by this unit. (0 to job carry capacity - other carried items).
The amount of redium ore carried by this unit. (0 to job carry capacity - other carried items).
Duration of stun immunity. (0 to timeImmune).
Duration the unit is stunned. (0 to the game constant stunTime).
The Tile this Unit is on.
Makes the unit do something to a machine or unit adjacent to its tile. Interns sabotage, physicists work. Interns stun physicist, physicist stuns manager, manager stuns intern.
The tile the unit acts on.
True if successfully acted, false otherwise.
Attacks a unit on an adjacent tile.
The Tile to attack.
True if successfully attacked, false otherwise.
Drops materials at the units feet or adjacent tile.
The tile the materials will be dropped on.
The number of materials to dropped. Amounts <= 0 will drop all the materials.
The material the unit will drop. 'redium', 'blueium', 'redium ore', or 'blueium ore'.
True if successfully deposited, false otherwise.
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.
Moves this Unit from its current Tile to an adjacent Tile.
The Tile this Unit should move to.
True if it moved, false otherwise.
Picks up material at the units feet or adjacent tile.
The tile the materials will be picked up from.
The amount of materials to pick up. Amounts <= 0 will pick up all the materials that the unit can.
The material the unit will pick up. 'redium', 'blueium', 'redium ore', or 'blueium ore'.
True if successfully deposited, false otherwise.
A toString override for easier debugging.
A human readable representation of the game object.
Generated using TypeDoc
A unit in the game. May be a manager, intern, or physicist.