zombie.characters.CharacterTimedActions
Class BaseAction

java.lang.Object
  extended by zombie.characters.CharacterTimedActions.BaseAction
Direct Known Subclasses:
BarricadeAction, DoBuildAction, LuaTimedAction, LuaTimedActionNew, UnbarricadeAction

public class BaseAction
extends java.lang.Object

Author:
LEMMY

Field Summary
 IsoGameCharacter chr
           
 float CurrentTime
           
 float delta
           
 boolean forceComplete
           
 boolean forceStop
           
 float LastTime
           
 int MaxTime
           
 float PrevLastTime
           
 Audio SoundEffect
           
 boolean StopOnRun
           
 boolean StopOnWalk
           
 boolean UseProgressBar
           
 
Constructor Summary
BaseAction(IsoGameCharacter chr)
           
 
Method Summary
 boolean finished()
           
 void forceComplete()
           
 void forceStop()
           
 float getCurrentTime()
           
 float getJobDelta()
           
 boolean hasStalled()
           
 void perform()
           
 void PlayLoopedSoundTillComplete(java.lang.String name, int radius, float maxGain)
           
 void reset()
           
 void start()
           
 void stop()
           
 void update()
           
 boolean valid()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SoundEffect

public Audio SoundEffect

CurrentTime

public float CurrentTime

LastTime

public float LastTime

MaxTime

public int MaxTime

PrevLastTime

public float PrevLastTime

UseProgressBar

public boolean UseProgressBar

chr

public IsoGameCharacter chr

StopOnWalk

public boolean StopOnWalk

StopOnRun

public boolean StopOnRun

delta

public float delta

forceStop

public boolean forceStop

forceComplete

public boolean forceComplete
Constructor Detail

BaseAction

public BaseAction(IsoGameCharacter chr)
Method Detail

forceStop

public void forceStop()

forceComplete

public void forceComplete()

PlayLoopedSoundTillComplete

public void PlayLoopedSoundTillComplete(java.lang.String name,
                                        int radius,
                                        float maxGain)

hasStalled

public boolean hasStalled()

getJobDelta

public float getJobDelta()

update

public void update()

start

public void start()

reset

public void reset()

getCurrentTime

public float getCurrentTime()

stop

public void stop()

valid

public boolean valid()

finished

public boolean finished()

perform

public void perform()