Whether or not this Unit has performed its action this turn.
The x value this unit is dashing to.
The y value this unit is dashing to.
The remaining health of the unit.
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 amount of Genarium ore carried by this unit. (0 to job carry capacity
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.
Tracks whether or not the ship is dashing or Mining. If true, it cannot do anything else.
The Job this Unit has.
The amount of Legendarium ore carried by this unit. (0 to job carry capacity - other carried items).
Any strings logged will be stored here. Intended for debugging.
The distance this unit can still move.
The amount of Mythicite carried by this unit. (0 to job carry capacity - other carried items).
The Player that owns and can control this Unit.
The martyr ship that is currently shielding this ship if any.
The amount of Rarium carried by this unit. (0 to job carry capacity - other carried items).
The shield that a martyr ship has.
The x value this unit is on.
The y value this unit is on.
Attacks the specified unit.
The Unit being attacked.
True if successfully attacked, false otherwise.
Causes the unit to dash towards the designated destination.
The x value of the destination's coordinates.
The y value of the destination's coordinates.
True if it moved, 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.
Allows a miner to mine a asteroid.
The object to be mined.
True if successfully acted, false otherwise.
Moves this Unit from its current location to the new location specified.
The x value of the destination's coordinates.
The y value of the destination's coordinates.
True if it moved, false otherwise.
Tells you if your ship can move to that location from were it is without clipping the sun.
The x position of the location you wish to arrive.
The y position of the location you wish to arrive.
True if pathable by this unit, false otherwise.
Attacks the specified projectile.
The projectile being shot down.
True if successfully attacked, false otherwise.
A toString override for easier debugging.
A human readable representation of the game object.
Grab materials from a friendly unit. Doesn't use a action.
The unit you are grabbing the resources from.
The amount of materials to you with to grab. Amounts <= 0 will pick up all the materials that the unit can.
The material the unit will pick up. 'genarium', 'rarium', 'legendarium', or 'mythicite'.
True if successfully taken, false otherwise.
Generated using TypeDoc
A unit in the game. May be a corvette, missleboat, martyr, transport, miner.