erland.game.tileadventure
Class Action
java.lang.Object
erland.game.tileadventure.Action
- All Implemented Interfaces:
- ActionInterface
- Direct Known Subclasses:
- MoveAction
public class Action
- extends Object
- implements ActionInterface
Constructor Summary |
protected |
Action()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final Action NONE
MOVE_WEST
public static final Action MOVE_WEST
MOVE_EAST
public static final Action MOVE_EAST
MOVE_NORTH
public static final Action MOVE_NORTH
MOVE_SOUTH
public static final Action MOVE_SOUTH
MOVE_DOWN
public static final Action MOVE_DOWN
PUSH_WEST
public static final Action PUSH_WEST
PUSH_EAST
public static final Action PUSH_EAST
PUSH_NORTH
public static final Action PUSH_NORTH
PUSH_SOUTH
public static final Action PUSH_SOUTH
JUMP
public static final Action JUMP
DROP
public static final ActionInterface DROP
Action
protected Action()
isMove
public boolean isMove()
isPush
public boolean isPush()
getDirection
public Direction getDirection()
setController
public void setController(ControllerInterface controller)
getController
public ControllerInterface getController()
- Specified by:
getController
in interface ActionInterface
start
public void start()
- Specified by:
start
in interface ActionInterface
stop
public void stop()
- Specified by:
stop
in interface ActionInterface
perform
public boolean perform()
- Specified by:
perform
in interface ActionInterface
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.