OwnedStructure

From Screeps Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This article is a stub. You can help Screeps Wiki by editing to add more information.

OwnedStructure is an in-game class representing a Structure that has a player name associated with it. It is used in an inheritance chain with such Structures, and inherits from Structure and RoomPosition itself.

All structures in the game, with the exception of Roads, Containers and Constructed Walls inherit from this class.

Game.structures only includes OwnedStructures that are associated with your player name.