public static class Robot.Robot_Status
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
int[] |
capsules
Current number and power of capsules.
Each capsule is represented by an element of the array. The value of the element of the array is equal to the power of the capsule. In-progress capsules are not represented; use getInvestedBuildPower() for that. |
int |
charge
current charge.
|
int |
defense_boost
current defense boost
|
int |
health
current health.
|
int |
power
remaining power for turn
|
| Constructor and Description |
|---|
Robot.Robot_Status()
Constructor because I'd rather not capsules ever be null
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Overrides clone: see Java language documentation for explanation
|
public int power
public int charge
public int health
public int defense_boost
public int[] capsules