|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Skill | +--SkillCatch
This class encapsulates a catch skill for a gaolie
Field Summary | |
private java.awt.geom.Point2D.Double |
ball
|
Fields inherited from class Skill |
clearLock, cycles, player |
Constructor Summary | |
SkillCatch(Player player,
java.awt.geom.Point2D.Double dest)
Constructor |
Method Summary | |
void |
perform()
perform a catch ball skill |
boolean |
succeeded()
check whether the skill has succeeded |
Methods inherited from class Skill |
isLocked, setClearLock |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.awt.geom.Point2D.Double ball
Constructor Detail |
public SkillCatch(Player player, java.awt.geom.Point2D.Double dest)
player
- reference to playerdest
- position of ball to catchMethod Detail |
public void perform()
perform
in class Skill
public boolean succeeded()
succeeded
in class Skill
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |