/**
 * A flag. Flags can be used to mark particular spots in a room. Flags are visible to their owners only.
 */ interface Flag extends RoomObject { readonly prototype : Flag ; /**
     * Flag color. One of the following constants: COLOR_WHITE, COLOR_GREY, COLOR_RED, COLOR_PURPLE, COLOR_BLUE, COLOR_CYAN, COLOR_GREEN, COLOR_YELLOW, COLOR_ORANGE, COLOR_BROWN
     */ color : number ; /**
     * A shorthand to Memory.flags[flag.name]. You can use it for quick access the flag's specific memory data object.
     */ memory : any ; /**
     * Flag’s name. You can choose the name while creating a new flag, and it cannot be changed later. This name is a hash key to access the spawn via the Game.flags object.
     */ name : string ; /**
     * Flag secondary color. One of the COLOR_* constants.
     */ secondaryColor : number ; returns remove ( ) : number ; param color parma returns setColor ( color , secondaryColor ? ) : number ; param x param y returns setPosition ( x , y ) : number ; param pos returns setPosition ( pos ) : number ; } interface FlagConstructor extends _Constructor < Flag > { new ( name , color , secondaryColor , roomName , x , y ) : Flag ; ( name , color , secondaryColor , roomName , x , y ) : Flag ; } declare const Flag ;