Class BaseAction
java.lang.Object
zombie.characters.CharacterTimedActions.BaseAction
- Direct Known Subclasses:
LuaTimedAction
,LuaTimedActionNew
public class BaseAction
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
animVariables
boolean
blockMovementEtc
boolean
bStarted
float
caloriesModifier
IsoGameCharacter
chr
float
CurrentTime
float
delta
boolean
forceComplete
boolean
ForceProgressBar
boolean
forceStop
float
LastTime
boolean
loopAction
int
MaxTime
boolean
overrideAnimation
boolean
overrideHandModels
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()
InventoryItem
getPrimaryHandItem()
java.lang.String
getPrimaryHandMdl()
InventoryItem
getSecondaryHandItem()
java.lang.String
getSecondaryHandMdl()
boolean
hasStalled()
void
OnAnimEvent(AnimEvent animEvent)
void
perform()
void
PlayLoopedSoundTillComplete(java.lang.String string, int int1, float float1)
void
reset()
void
resetJobDelta()
void
setActionAnim(java.lang.String string)
void
setActionAnim(CharacterActionAnims characterActionAnims)
void
setAnimVariable(java.lang.String string, boolean boolean1)
void
setAnimVariable(java.lang.String string, java.lang.String string2)
void
setBlockMovementEtc(boolean boolean1)
void
setLoopedAction(boolean boolean1)
void
setOverrideAnimation(boolean boolean1)
void
setOverrideHandModels(InventoryItem inventoryItem, InventoryItem inventoryItem2)
void
setOverrideHandModels(InventoryItem inventoryItem, InventoryItem inventoryItem2, boolean boolean1)
void
setOverrideHandModelsObject(java.lang.Object object, java.lang.Object object2, boolean boolean1)
void
setOverrideHandModelsString(java.lang.String string, java.lang.String string2)
void
setOverrideHandModelsString(java.lang.String string, java.lang.String string2, boolean boolean1)
void
setUseProgressBar(boolean boolean1)
void
start()
void
stop()
void
stopTimedActionAnim()
void
update()
boolean
valid()
void
waitToStart()
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 -
ForceProgressBar
public boolean ForceProgressBar -
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 -
animVariables
public final java.util.ArrayList animVariables -
loopAction
public boolean loopAction -
bStarted
public boolean bStarted -
forceStop
public boolean forceStop -
forceComplete
public boolean forceComplete -
overrideHandModels
public boolean overrideHandModels
-
-
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() -
resetJobDelta
public void resetJobDelta() -
waitToStart
public void waitToStart() -
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) -
stopTimedActionAnim
public void stopTimedActionAnim() -
setAnimVariable
public void setAnimVariable(java.lang.String string, java.lang.String string2) -
setAnimVariable
public void setAnimVariable(java.lang.String string, boolean boolean1) -
getPrimaryHandMdl
public java.lang.String getPrimaryHandMdl() -
getSecondaryHandMdl
public java.lang.String getSecondaryHandMdl() -
getPrimaryHandItem
-
getSecondaryHandItem
-
setActionAnim
-
setActionAnim
public void setActionAnim(java.lang.String string) -
setOverrideHandModels
-
setOverrideHandModels
public void setOverrideHandModels(InventoryItem inventoryItem, InventoryItem inventoryItem2, boolean boolean1) -
setOverrideHandModelsString
public void setOverrideHandModelsString(java.lang.String string, java.lang.String string2) -
setOverrideHandModelsString
public void setOverrideHandModelsString(java.lang.String string, java.lang.String string2, boolean boolean1) -
setOverrideHandModelsObject
public void setOverrideHandModelsObject(java.lang.Object object, java.lang.Object object2, boolean boolean1) -
OnAnimEvent
-
setLoopedAction
public void setLoopedAction(boolean boolean1)
-