- Preparing search index...
- The search index is not available
Chess Bots
Properties
idsToRobots
ids
To
Robots
: Map<string, Robot> = ...
Methods
addRobot
- addRobot(robot: Robot): void
-
Returns void
createRobotFromId
- createRobotFromId(robotId: string): Robot
-
getIndicesToIds
- getIndicesToIds(): Map<string, string>
-
Returns Map<string, string>
getRobot
- getRobot(robotId: string): Robot
-
isRobotAtIndices
- isRobotAtIndices(indices: GridIndices): boolean
-
Returns boolean
updateRobot
- updateRobot(robotId: string, indices: GridIndices): void
-
Returns void
Stores robots. Provides utilities for finding them by position.