org.deken.game.movement.actions
Class ScriptDestinationAction

java.lang.Object
  extended by org.deken.game.movement.actions.ScriptMovementAction
      extended by org.deken.game.movement.actions.ScriptDestinationAction

public class ScriptDestinationAction
extends ScriptMovementAction

Title: ScriptDestinationAction

Description: TODO

Copyright: Copyright (c) Dec 8, 2012

Version:
1.0
Author:
Gary Deken

Field Summary
 
Fields inherited from class org.deken.game.movement.actions.ScriptMovementAction
actionXMovement, actionYMovement, done, gameVector, overTime, parent, speed
 
Constructor Summary
ScriptDestinationAction(GameLocation destination)
          Action to move to a specific GameLocation in pixels.
 
Method Summary
 ScriptDestinationAction copy()
           
protected  void resetSub()
           
protected  void start()
           
 void update(long elapseTime)
           
 
Methods inherited from class org.deken.game.movement.actions.ScriptMovementAction
getActionXMovement, getActionYMovement, getDirection, getGameVector, getNoAction, getOverTime, isDone, reset, setDone, startAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptDestinationAction

public ScriptDestinationAction(GameLocation destination)
Action to move to a specific GameLocation in pixels.

Parameters:
destination -
Method Detail

copy

public ScriptDestinationAction copy()
Specified by:
copy in class ScriptMovementAction

update

public void update(long elapseTime)
Specified by:
update in class ScriptMovementAction

resetSub

protected void resetSub()
Specified by:
resetSub in class ScriptMovementAction

start

protected void start()
Specified by:
start in class ScriptMovementAction