- Breaking change:
Exit
objects removed from the game. Now all non-wall border squares (i.e. withx
ory
equal to 0 or 49) are treated as exits. - Breaking change: Deprecated methods
Game.getRoom
,RoomPosition.findNearest
andRoomPosition.equalsTo
removed from the API. - Breaking change: All constants removed from the deprecated
Game
scope. Now they are accessible only through the global scope. - Added new error constants
ERR_RCL_NOT_ENOUGH
andERR_GCL_NOT_ENOUGH
. - Added new structure type constant
STRUCTURE_CONTROLLER
. - Added new properties
Structure.level
,Structure.progressTotal
,Structure.ticksToLive
. - Added new property
Room.controller
. - Added new methods
Creep.claimController
,Creep.unclaimController
,Creep.upgradeController
. - Healer creeps can now heal themselves.
Changelog 2015-05-13
Have more questions? Submit a request
Is there a way to know the room a creep is accessing without the exit object? There is a way to know a path to go to a specific room, but I didn't find a way to know the adjacent rooms itself.
@avdg_ There is no such method yet. Probably we may add it to the
Map
object later.