A structure is a game object that represents the structures extensions, links, roads, ramparts, spawns and constructed walls.
Api[]
Methods[]
- destroy()
- notifyWhenAttacked(enabled)
- transferEnergy() (only available for extensions and links)
Properties[]
- coolDown (only available for links)
- energy (only available for extensions, links and spawns)
- energyCapacity (only available for extensions, links and spawns)
- hits
- hitsMax
- id
- level (only available for controllers)
- my
- owner
- pos
- progress (only available for controllers)
- progressTotal (only available for controllers)
- room
- store (only available for storage)
- energy (only available for storage)
- storeCapacity (only available for storage)
- structureType
- ticksToDecay (only available for ramparts and roads)
- ticksToDowngrade (only available for controllers)
- ticksToLive (only available for walls)
- ticksToSpawn (only available for keeper lairs)