Difference between revisions of "OwnedStructure"

From Screeps Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} 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, a...")
 
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
  +
[[Category:In-Game Objects]]
   
 
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.
 
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.

Revision as of 01:34, 5 February 2017

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.