|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface ActiveBreakoutComponent is a BreakoutComponent that acts on it own and has a velocity.
BreakoutComponent
,
DefaultActiveBreakoutComponent
Method Summary | |
void |
act()
actively interact with the world. |
Point |
getDirection()
returns a Point representing the direction the component is travelling. |
int |
getTimeBetweenActs()
returns the time in milliseconds between act()s. |
void |
setDirection(Point d)
sets the direction of the component. |
Methods inherited from interface breakout.BreakoutComponent |
getCenter, getLocation, getShape, getSize, hitBy, isDead, isTransient, kill, paint, setLocation, setWorld |
Method Detail |
public void act()
public Point getDirection()
public void setDirection(Point d)
public int getTimeBetweenActs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |