import { SectorData, EntityID, EntityData, TeamID, Location } from './schema'; export declare class Sector { teams: Map; topLeft_: Location; controllingTeam_: TeamID; hasChanged: boolean; constructor(topLeft: Location); /** * Get or create new EntityID[] of statues if team does not exist in teams */ getOrCreateTeam(team: TeamID): EntityID[]; getTeam(id: TeamID): number[]; addStatue(statue: EntityData): void; deleteStatue(statue: EntityData): void; /** * returns id of team controlling sector or -1 if no team controlling */ getControllingTeamID(): TeamID; updateControllingTeam(): void; /** * returns true when team controlling sector changes */ checkChanged(): boolean; /** * returns id of oldest statue from team, or -1 if no statue exists * oldest statue is statue with lowest id */ getOldestStatueID(team: TeamID): EntityID | undefined; /** * returns id of spawning statue from controlling team, if one exists */ getSpawningStatueID(): EntityID | undefined; static getSectorData(sector: Sector): SectorData; }