zombie.characters.CharacterTimedActions
Class LuaTimedActionNew

java.lang.Object
  extended by zombie.characters.CharacterTimedActions.BaseAction
      extended by zombie.characters.CharacterTimedActions.LuaTimedActionNew
All Implemented Interfaces:
IPathfinder

public class LuaTimedActionNew
extends BaseAction
implements IPathfinder

Author:
LEMMY

Field Summary
static java.lang.Object[] statObj
           
 
Fields inherited from class zombie.characters.CharacterTimedActions.BaseAction
chr, CurrentTime, delta, forceComplete, forceStop, LastTime, MaxTime, PrevLastTime, SoundEffect, StopOnRun, StopOnWalk, UseProgressBar
 
Constructor Summary
LuaTimedActionNew(se.krka.kahlua.vm.KahluaTable table, IsoGameCharacter chr)
           
 
Method Summary
 void Failed(Mover mover)
           
 java.lang.String getName()
           
 void Pathfind(IsoGameCharacter chr, int x, int y, int z)
           
 void perform()
           
 void start()
           
 void stop()
           
 void Succeeded(Path path, Mover mover)
           
 void update()
           
 boolean valid()
           
 
Methods inherited from class zombie.characters.CharacterTimedActions.BaseAction
finished, forceComplete, forceStop, getCurrentTime, getJobDelta, hasStalled, PlayLoopedSoundTillComplete, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statObj

public static java.lang.Object[] statObj
Constructor Detail

LuaTimedActionNew

public LuaTimedActionNew(se.krka.kahlua.vm.KahluaTable table,
                         IsoGameCharacter chr)
Method Detail

update

public void update()
Overrides:
update in class BaseAction

valid

public boolean valid()
Overrides:
valid in class BaseAction

start

public void start()
Overrides:
start in class BaseAction

stop

public void stop()
Overrides:
stop in class BaseAction

perform

public void perform()
Overrides:
perform in class BaseAction

Failed

public void Failed(Mover mover)
Specified by:
Failed in interface IPathfinder

Succeeded

public void Succeeded(Path path,
                      Mover mover)
Specified by:
Succeeded in interface IPathfinder

Pathfind

public void Pathfind(IsoGameCharacter chr,
                     int x,
                     int y,
                     int z)

getName

public java.lang.String getName()
Specified by:
getName in interface IPathfinder