- getMoveIntents(room: string): {
blockedSquares: Set<string>;
creep: Map<Id<Creep | PowerCreep>, MoveIntent>;
prefersToStay: Set<string>;
priority: Map<number, Map<number, Map<Id<Creep | PowerCreep>, MoveIntent>>>;
pullees: Set<Id<Creep | PowerCreep>>;
pullers: Set<Id<Creep | PowerCreep>>;
targets: Map<string, Map<Id<Creep | PowerCreep>, MoveIntent>>;
}
-
Returns {
blockedSquares: Set<string>;
creep: Map<Id<Creep | PowerCreep>, MoveIntent>;
prefersToStay: Set<string>;
priority: Map<number, Map<number, Map<Id<Creep | PowerCreep>, MoveIntent>>>;
pullees: Set<Id<Creep | PowerCreep>>;
pullers: Set<Id<Creep | PowerCreep>>;
targets: Map<string, Map<Id<Creep | PowerCreep>, MoveIntent>>;
}
-
blockedSquares: Set<string>
-
creep: Map<Id<Creep | PowerCreep>, MoveIntent>
-
prefersToStay: Set<string>
-
priority: Map<number, Map<number, Map<Id<Creep | PowerCreep>, MoveIntent>>>
-
pullees: Set<Id<Creep | PowerCreep>>
-
pullers: Set<Id<Creep | PowerCreep>>
-
targets: Map<string, Map<Id<Creep | PowerCreep>, MoveIntent>>
Gets the current tick's move intents, recreating the indexes if the data is stale from the previous tick
Returns: