Interface Movement
-
- All Known Subinterfaces:
DirectionalMovement
- All Known Implementing Classes:
DownMovement
,HorizontalMovement
,LeftMovement
,MovementLess
,PrgmMovement
,RightMovement
,SimpleHorizontalMovement
,StackMovement
,UpMovement
,VerticalMovement
public interface Movement
Represents a movement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
move(Movable movable)
Move a movable.
-
-
-
Method Detail
-
move
void move(Movable movable)
Move a movable.- Parameters:
movable
- The movable to move.
-
-