erland.game.tileadventure
Class MoveAction
java.lang.Object
erland.game.tileadventure.Action
erland.game.tileadventure.MoveAction
- All Implemented Interfaces:
- ActionInterface
public class MoveAction
- extends Action
| Fields inherited from class erland.game.tileadventure.Action |
DROP, JUMP, MOVE_DOWN, MOVE_EAST, MOVE_NORTH, MOVE_SOUTH, MOVE_WEST, PUSH_EAST, PUSH_NORTH, PUSH_SOUTH, PUSH_WEST |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEST
public static final Vector3D WEST
EAST
public static final Vector3D EAST
NORTH
public static final Vector3D NORTH
SOUTH
public static final Vector3D SOUTH
UP
public static final Vector3D UP
DOWN
public static final Vector3D DOWN
NONE
public static final Vector3D NONE
MoveAction
public MoveAction(ControllerInterface controller,
Vector3D direction)
start
public void start()
- Specified by:
start in interface ActionInterface- Overrides:
start in class Action
stop
public void stop()
- Specified by:
stop in interface ActionInterface- Overrides:
stop in class Action
perform
public boolean perform()
- Specified by:
perform in interface ActionInterface- Overrides:
perform in class Action
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.