/**
 * The main global game object containing all the gameplay information.
 */ interface Game { /**
     * An object containing information about your CPU usage with the following properties:
     */ cpu : CPU ; /**
     * A hash containing all your creeps with creep names as hash keys.
     */ creeps : { [ creepName ] : Creep ; } ; /**
     * A hash containing all your flags with flag names as hash keys.
     */ flags : { [ flagName ] : Flag ; } ; /**
     * Your Global Control Level, an object with the following properties :
     */ gcl : GlobalControlLevel ; /**
     * A global object representing world GameMap.
     */ map : GameMap ; /**
     * A global object representing the in-game market.
     */ market : Market ; /**
     * A hash containing all the rooms available to you with room names as hash keys.
     */ rooms : { [ roomName ] : Room ; } ; /**
     * A hash containing all your spawns with spawn names as hash keys.
     */ spawns : { [ spawnName ] : Spawn ; } ; /**
     * A hash containing all your structures with structure id as hash keys.
     */ structures : { [ structureId ] : Structure ; } ; /**
     * A hash containing all your construction sites with their id as hash keys.
     */ constructionSites : { [ constructionSiteId ] : ConstructionSite ; } ; /**
     * System game tick counter. It is automatically incremented on every tick.
     */ time : number ; param id returns getObjectById < T > ( id ) : T | null ; param message param groupInterval notify ( message , groupInterval ? ) : void ; }