|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbattlecode.common.Clock
public class Clock
A robot's internal clock, used for measuring "time" in bytecodes and rounds.
| Method Summary | |
|---|---|
static int |
getBytecodeNum()
Returns the number of bytecodes the current robot has executed since the beginning of the current round. |
static int |
getBytecodesLeft()
Returns the number of bytecodes this robot has left in this round. |
static int |
getRoundNum()
Returns the current round number, where round 0 is the first round of the match. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int getBytecodeNum()
public static int getRoundNum()
public static int getBytecodesLeft()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||