|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMoveable
Interface that represents a "moveable" object.
Method Summary | |
---|---|
Point |
getLocation()
The current location of the moveable object. |
void |
moveDown()
Tells the moveable object to move to the down by an amount or at a rate determined by the object. |
void |
moveLeft()
Tells the moveable object to move to the left by an amount or at a rate determined by the object. |
void |
moveRight()
Tells the moveable object to move to the right by an amount or at a rate determined by the object. |
void |
moveUp()
Tells the moveable object to move to the up by an amount or at a rate determined by the object. |
void |
stop()
Tells a moveable object to stop moving. |
Method Detail |
---|
Point getLocation()
void moveLeft()
void moveRight()
void moveUp()
void moveDown()
void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |