|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Tactic | +--TacticOff1
This class encapsulates the intelligence for TacticOff1
Field Summary | |
(package private) int |
cycles
cycles to run |
(package private) boolean |
DEBUG
a debug switch |
(package private) boolean |
suceeded
is this Tactic suceeded it will be removed |
(package private) int |
wait
a wait timer |
Fields inherited from class Tactic |
player, succeeded |
Constructor Summary | |
TacticOff1(Player player)
constructor |
Method Summary | |
private void |
act(Skill skill)
|
(package private) void |
debug(java.lang.String id,
java.lang.String msg)
|
void |
perform()
performs the tactic TacticOff1 (generates skills) |
boolean |
succeeded()
check wether tactic TacticOff1 has succeeded |
Methods inherited from class Tactic |
getCycles, setCycles |
Methods inherited from class java.lang.Object |
|
Field Detail |
final boolean DEBUG
boolean suceeded
int cycles
int wait
Constructor Detail |
public TacticOff1(Player player)
player
- reference to playerMethod Detail |
public void perform()
perform
in class Tactic
public boolean succeeded()
succeeded
in class Tactic
private void act(Skill skill)
void debug(java.lang.String id, java.lang.String msg)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |