Class AnimatedModel
java.lang.Object
zombie.core.skinnedmodel.advancedanimation.AnimationVariableSource
zombie.core.skinnedmodel.advancedanimation.AnimatedModel
- All Implemented Interfaces:
IActionStateChanged
,IAnimatable
,IAnimationVariableMap
,IAnimationVariableSource
,IAnimEventCallback
,IHumanVisual
public final class AnimatedModel
extends AnimationVariableSource
implements IAnimatable, IAnimEventCallback, IActionStateChanged, IHumanVisual
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionStateChanged
(ActionContext sender) void
clothingItemChanged
(String itemGuid) void
DoRender
(int x, int y, int w, int h, float sizeV, float animPlayerAngle) void
DoRender
(ModelCamera camera) void
DoRenderToWorld
(float x, float y, float z, float animPlayerAngle) void
getItemVisuals
(ItemVisuals itemVisuals) getState()
getUID()
boolean
boolean
isFemale()
boolean
boolean
boolean
boolean
boolean
isZombie()
void
OnAnimEvent
(AnimLayer sender, AnimEvent event) void
postRender
(boolean bRendered) void
int
void
setAlpha
(float alpha) void
setAmbient
(ColorInfo ambient, boolean outside, boolean room) void
void
setAnimate
(boolean animate) void
setAnimSetName
(String name) void
setAttachedModelNames
(AttachedModelNames attachedModelNames) void
setCharacter
(IsoGameCharacter character) void
setFlipY
(boolean flip) void
setIsometric
(boolean iso) void
setLights
(IsoGridSquare.ResultLight[] lights, float x, float y, float z) void
setModelData
(HumanVisual baseVisual, ItemVisuals itemVisuals) void
setOffset
(float x, float y, float z) void
setOutfitName
(String name, boolean female, boolean zombie) void
void
void
void
setSurvivorDesc
(SurvivorDesc survivorDesc) void
setTrackTime
(float trackTime) void
setVisual
(HumanVisual baseVisual) void
update()
Methods inherited from class zombie.core.skinnedmodel.advancedanimation.AnimationVariableSource
clearVariable, clearVariables, containsVariable, getGameVariables, getOrCreateVariable, getVariable, getVariable, getVariableBoolean, getVariableBoolean, getVariableFloat, getVariableString, isVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable, setVariable
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimatable
getOnlineID
Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.IAnimationVariableSource
containsVariable, getGameVariables, getVariable, getVariable, getVariableBoolean, getVariableBoolean, getVariableFloat, getVariableString, isVariable
-
Constructor Details
-
AnimatedModel
public AnimatedModel()
-
-
Method Details
-
setVisual
-
getVisual
-
getHumanVisual
- Specified by:
getHumanVisual
in interfaceIHumanVisual
-
getItemVisuals
- Specified by:
getItemVisuals
in interfaceIHumanVisual
-
isFemale
public boolean isFemale()- Specified by:
isFemale
in interfaceIHumanVisual
-
isZombie
public boolean isZombie()- Specified by:
isZombie
in interfaceIHumanVisual
-
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeleton
in interfaceIHumanVisual
-
setAnimSetName
-
setOutfitName
-
setCharacter
-
setSurvivorDesc
-
setPrimaryHandModelName
-
setSecondaryHandModelName
-
setAttachedModelNames
-
setModelData
-
setAmbient
-
setLights
-
setState
-
getState
-
setAngle
-
setOffset
public void setOffset(float x, float y, float z) -
setIsometric
public void setIsometric(boolean iso) -
isIsometric
public boolean isIsometric() -
setFlipY
public void setFlipY(boolean flip) -
setAlpha
public void setAlpha(float alpha) -
setTrackTime
public void setTrackTime(float trackTime) -
clothingItemChanged
-
setAnimate
public void setAnimate(boolean animate) -
update
public void update() -
isReadyToRender
public boolean isReadyToRender() -
renderMain
public int renderMain() -
isRendered
public boolean isRendered() -
postRender
public void postRender(boolean bRendered) -
DoRender
-
DoRender
public void DoRender(int x, int y, int w, int h, float sizeV, float animPlayerAngle) -
DoRenderToWorld
public void DoRenderToWorld(float x, float y, float z, float animPlayerAngle) -
releaseAnimationPlayer
public void releaseAnimationPlayer() -
OnAnimEvent
- Specified by:
OnAnimEvent
in interfaceIAnimEventCallback
-
getAnimationPlayer
- Specified by:
getAnimationPlayer
in interfaceIAnimatable
-
actionStateChanged
- Specified by:
actionStateChanged
in interfaceIActionStateChanged
-
getAnimationPlayerRecorder
- Specified by:
getAnimationPlayerRecorder
in interfaceIAnimatable
-
isAnimationRecorderActive
public boolean isAnimationRecorderActive()- Specified by:
isAnimationRecorderActive
in interfaceIAnimatable
-
getActionContext
- Specified by:
getActionContext
in interfaceIAnimatable
-
getAdvancedAnimator
- Specified by:
getAdvancedAnimator
in interfaceIAnimatable
-
getModelInstance
- Specified by:
getModelInstance
in interfaceIAnimatable
-
GetAnimSetName
- Specified by:
GetAnimSetName
in interfaceIAnimatable
-
getUID
- Specified by:
getUID
in interfaceIAnimatable
-