|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Tactic | +--TacticWeRule
This class encapsulates the intelligence for a tactic TacticWeRule
Field Summary | |
(package private) int |
cycles
|
(package private) boolean |
DEBUG
class internal debug switch |
(package private) boolean |
suceeded
check variable (tactic succeeded?) |
(package private) boolean |
verified
|
Fields inherited from class Tactic |
player, succeeded |
Constructor Summary | |
TacticWeRule(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 TacticWeRule (generates skills) |
boolean |
succeeded()
check wether tactic TacticWeRule 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
boolean verified
Constructor Detail |
public TacticWeRule(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 |