|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodules.EmptyModule
modules.states.TemplateStateModule
Field Summary | |
static int[] |
ATTACK_ALL
Attack all state |
static int[] |
ATTACK_BOT
Attack bot state |
static int |
DEFAULT_MODE
Unique state available |
static int[] |
DEFEND_BOT
Defend bot state |
Fields inherited from class modules.EmptyModule |
DO_NOTHING |
Constructor Summary | |
TemplateStateModule(TemplateBot owner,
BotInfoMap bots)
Default constructor for TemplateStateModule |
Method Summary | |
abstract void |
move()
Action to execute during robot turn |
Methods inherited from class modules.EmptyModule |
getState, getTarget, onBulletHit, onBulletHitBullet, onBulletMissed, onCustomEvent, onDeath, onHitByBullet, onHitRobot, onHitWall, onMessageReceived, onRobotDeath, onScannedRobot, onSkippedTurn, onWin, setState, setTarget, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DEFAULT_MODE
public static int[] ATTACK_ALL
public static int[] ATTACK_BOT
public static int[] DEFEND_BOT
Constructor Detail |
public TemplateStateModule(TemplateBot owner, BotInfoMap bots)
owner
- Bot which owns this modulebots
- BotInfoMap which has all information recorded by botMethod Detail |
public abstract void move()
EmptyModule
move
in class EmptyModule
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |