battlecode.common
public class RobotInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
double |
actionDelay
Action delay of the robot.
|
int |
constructingRounds
The number of constructing rounds remaining.
|
RobotType |
constructingType
The type of building being constructed.
|
Direction |
direction
The direction this Robot is facing.
|
double |
health
The energon of this Robot.
|
boolean |
isConstructing
Whether the robot is constructing anything.
|
MapLocation |
location
The location of this Robot.
|
Robot |
robot
The robot that was sensed.
|
Team |
team
The team of this Robot.
|
RobotType |
type
The type of this Robot.
|
public final Robot robot
public final MapLocation location
public final double health
public final Direction direction
public final RobotType type
public final Team team
public final double actionDelay
public final boolean isConstructing
public final RobotType constructingType
public final int constructingRounds