Modifier and Type | Field and Description |
---|---|
static AnimationInstance |
AnimationInstance.BLANK
A blank AnimationInstance of Animation.BLANK.
|
Modifier and Type | Method and Description |
---|---|
AnimationInstance |
CellGameState.addAnimInstance(Animation animation)
Adds a new AnimationInstance of the specified Animation to this
CellGameState.
|
AnimationInstance |
CellGameState.getAnimInstance(int id)
Returns the AnimationInstance that is assigned to this CellGameState with
the specified ID.
|
AnimationInstance |
CellGameState.setAnimation(int id,
Animation animation)
Sets the AnimationInstance that is assigned to this CellGameState with
the specified ID to a new AnimationInstance of the specified Animation,
if there is not already an AnimationInstance of that Animation assigned
with that ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CellGameState.addAnimInstance(AnimationInstance instance)
Adds the specified AnimationInstance to this CellGameState if it is not
already assigned to a CellGameState.
|
boolean |
CellGameState.removeAnimInstance(AnimationInstance instance)
Removes the specified AnimationInstance from this CellGameState if it
is currently assigned to this CellGameState.
|
boolean |
CellGameState.setAnimInstance(int id,
AnimationInstance instance)
Sets the AnimationInstance that is assigned to this CellGameState with
the specified ID to the specified AnimationInstance, if it is not already
assigned to a CellGameState.
|