public class RobotInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
MapLocation |
builder
For structures being built, this will be the location of the unit building the structure (null if N/A).
|
MapLocation |
buildingLocation
For units that are building a structure, this will be the location of the structure being built (null if N/A).
|
double |
coreDelay
The current core delay of the robot.
|
double |
health
The current health of the robot.
|
int |
ID
The unique ID of the robot.
|
MapLocation |
location
The current location of the robot.
|
int |
missileCount
The missile count of the robot.
|
double |
supplyLevel
The current supply level of the robot.
|
Team |
team
The Team that the robot is on.
|
RobotType |
type
The type of the robot.
|
double |
weaponDelay
The current weapon delay of the robot.
|
int |
xp
The XP of the robot.
|
| Constructor and Description |
|---|
RobotInfo(int ID,
Team team,
RobotType type,
MapLocation location,
double coreDelay,
double weaponDelay,
double health,
double supplyLevel,
int xp,
int missileCount,
MapLocation builder,
MapLocation buildingLocation) |
public final int ID
public final Team team
public final RobotType type
public final MapLocation location
public final double coreDelay
public final double weaponDelay
public final double health
public final double supplyLevel
public final int xp
public final int missileCount
public final MapLocation builder
public final MapLocation buildingLocation
public RobotInfo(int ID,
Team team,
RobotType type,
MapLocation location,
double coreDelay,
double weaponDelay,
double health,
double supplyLevel,
int xp,
int missileCount,
MapLocation builder,
MapLocation buildingLocation)