Class BaseAction
java.lang.Object
zombie.characters.CharacterTimedActions.BaseAction
- Direct Known Subclasses:
DoBuildAction
,LuaTimedAction
,LuaTimedActionNew
public class BaseAction
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
blockMovementEtc
float
caloriesModifier
IsoGameCharacter
chr
float
CurrentTime
float
delta
boolean
forceComplete
boolean
forceStop
float
LastTime
int
MaxTime
boolean
overrideAnimation
float
PrevLastTime
long
SoundEffect
boolean
StopOnAim
boolean
StopOnRun
boolean
StopOnWalk
boolean
UseProgressBar
-
Constructor Summary
Constructors Constructor Description BaseAction(IsoGameCharacter gameCharacter)
-
Method Summary
Modifier and Type Method Description boolean
finished()
void
forceComplete()
void
forceStop()
float
getCurrentTime()
float
getJobDelta()
boolean
hasStalled()
void
perform()
void
PlayLoopedSoundTillComplete(java.lang.String string, int int1, float float1)
void
reset()
void
setBlockMovementEtc(boolean boolean1)
void
setOverrideAnimation(boolean boolean1)
void
setUseProgressBar(boolean boolean1)
void
start()
void
stop()
void
update()
boolean
valid()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SoundEffect
public long SoundEffect -
CurrentTime
public float CurrentTime -
LastTime
public float LastTime -
MaxTime
public int MaxTime -
PrevLastTime
public float PrevLastTime -
UseProgressBar
public boolean UseProgressBar -
chr
-
StopOnWalk
public boolean StopOnWalk -
StopOnRun
public boolean StopOnRun -
StopOnAim
public boolean StopOnAim -
caloriesModifier
public float caloriesModifier -
delta
public float delta -
blockMovementEtc
public boolean blockMovementEtc -
overrideAnimation
public boolean overrideAnimation -
forceStop
public boolean forceStop -
forceComplete
public boolean forceComplete
-
-
Constructor Details
-
BaseAction
-
-
Method Details
-
forceStop
public void forceStop() -
forceComplete
public void forceComplete() -
PlayLoopedSoundTillComplete
public void PlayLoopedSoundTillComplete(java.lang.String string, int int1, float float1) -
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() -
setUseProgressBar
public void setUseProgressBar(boolean boolean1) -
setBlockMovementEtc
public void setBlockMovementEtc(boolean boolean1) -
setOverrideAnimation
public void setOverrideAnimation(boolean boolean1)
-