|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object robocraft.player.Clock
A Robot's internal clock.
Method Summary | |
static int |
getBytecodeNum()
Returns the number of bytecode instructions since the beginning of the round. |
static int |
getBytecodesPerRound()
Returns the constant number of bytecodes executed by the calling robot's virtual machine each round. |
static int |
getRoundNum()
Returns the number of the current round according to the robot's internal clock, which starts at 0 when the robot's program starts running and is incremented when a round ends. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static int getRoundNum()
public static int getBytecodeNum()
getBytecodesPerRound()
exclusive. A disassembly of your class files will show you how many instructions each line of your Java code is compiled into.
public static int getBytecodesPerRound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |