Difference between revisions of "OwnedStructure"
Jump to navigation
Jump to search
SemperRabbit (talk | contribs) |
(categorized) |
||
Line 7: | Line 7: | ||
<code>Game.structures</code> only includes OwnedStructures that are associated with your player name. |
<code>Game.structures</code> only includes OwnedStructures that are associated with your player name. |
||
+ | [[Category:Game Knowledge]] |
Latest revision as of 12:26, 28 October 2020
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.