- Game object prototypes are accessible through the API now: You can use these prototypes to extend game objects behaviour globally.
- All constants are exposed in global scope, without the need to use
Game
scope. - All Room.find constants have been renamed using
FIND_
prefix:FIND_CREEPS
FIND_MY_CREEPS
FIND_HOSTILE_CREEPS
FIND_SOURCES_ACTIVE
FIND_SOURCES
FIND_DROPPED_ENERGY
FIND_STRUCTURES
FIND_MY_STRUCTURES
FIND_HOSTILE_STRUCTURES
FIND_FLAGS
FIND_CONSTRUCTION_SITES
FIND_MY_SPAWNS
FIND_HOSTILE_SPAWNS
FIND_EXIT_TOP
FIND_EXIT_RIGHT
FIND_EXIT_BOTTOM
FIND_EXIT_LEFT
|