Package zombie.iso.sprite
Class AnimState
java.lang.Object
zombie.iso.sprite.AnimState
public class AnimState
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnimState.AnimStateEntry
-
Field Summary
Fields Modifier and Type Field Description int
currentEntry
java.util.ArrayList
entries
IsoSpriteInstance
inst
float
lastFrame
int
loopEntry
AnimStateMachine
machine
-
Constructor Summary
Constructors Constructor Description AnimState(java.lang.String string, AnimStateMachine animStateMachine, IsoSpriteInstance spriteInstance)
-
Method Summary
Modifier and Type Method Description AnimState.AnimStateEntry
addState(IsoAnim anim, float float1)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
entries
public java.util.ArrayList entries -
machine
-
inst
-
loopEntry
public int loopEntry -
currentEntry
public int currentEntry -
lastFrame
public float lastFrame
-
-
Constructor Details
-
AnimState
public AnimState(java.lang.String string, AnimStateMachine animStateMachine, IsoSpriteInstance spriteInstance)
-
-
Method Details
-
addState
-
update
public void update()
-