|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Tactic | +--TacticGoalie
This class encapsulates the goalie tactic
Field Summary | |
(package private) int |
catchBan
catch ban switch |
(package private) int |
cycles
cycles to last on the queue |
(package private) boolean |
DEBUG
class internal debug switch |
(package private) int |
look
for perform |
(package private) boolean |
suceeded
succeed check varaible |
(package private) int |
wait
for perform |
Fields inherited from class Tactic |
player, succeeded |
Constructor Summary | |
TacticGoalie(Player player)
constructor |
Method Summary | |
private void |
act(Skill skill)
|
(package private) void |
debug(java.lang.String id,
java.lang.String msg)
|
void |
perform()
generates skills for this tactic and stores the genereated Skill objects on the SkillsQueue of the SkillManager of the player |
boolean |
succeeded()
check wether tactic goalie 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
int look
int catchBan
Constructor Detail |
public TacticGoalie(Player player)
player
- reference to playerMethod Detail |
public void perform()
Tactic
perform
in class Tactic
Tactic.perform()
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 |