- Preparing search index...
- The search index is not available
Chess Bots
- Robot(props: {
onTopOfRobots: string[];
pos: SimulatedRobotLocation;
robotId: string;
style?: CSSProperties;
} & RefAttributes<HTMLDivElement>): null | ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
props: {
onTopOfRobots: string[];
pos: SimulatedRobotLocation;
robotId: string;
style?: CSSProperties;
} & RefAttributes<HTMLDivElement>
Returns null | ReactElement<any, string | JSXElementConstructor<any>>
Creates a robot icon to show in the simulator
Returns
the robot icon scaled to the board