Module screeps::objects

source ·
Expand description

Screeps object wrappers.

Objects types that inherit RoomObject represent game objects with are valid to be used only during the current tick; reading or writing a ‘stale’ game object from a past tick will result in undefined behavior.

Re-exports

Modules

  • Object wrappers representing data retrieved from room event logs.
  • Object wrappers for simple javascript objects with known properties sent to game functions.
  • Object wrappers for simple javascript objects with known properties returned by game functions.
  • Object wrappers allowing drawing of shapes in rooms or on the map in the game world.

Structs