| Package | Description | 
|---|---|
| org.cell2d | |
| org.cell2d.space | 
| Modifier and Type | Field and Description | 
|---|---|
| static AnimationInstance | AnimationInstance. BLANKA blank AnimationInstance of Animation.BLANK. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnimationInstance | GameState. addAnimInstance(Animation animation)Adds a new AnimationInstance of the specified Animation to this GameState
 without an ID. | 
| AnimationInstance | GameState. getAnimInstance(int id)Returns the AnimationInstance that is assigned to this GameState with the
 specified ID, or AnimationInstance.BLANK if there is none. | 
| AnimationInstance | GameState. setAnimation(int id,
            Animation animation)Sets the AnimationInstance that is assigned to this GameState 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. | 
| AnimationInstance | AnimationInstance. setGameState(GameState state)Sets the GameState to which this AnimationInstance is assigned. | 
| AnimationInstance | AnimationInstance. setIndex(int index)Sets this AnimationInstance's index at its highest level to the specified
 value. | 
| AnimationInstance | AnimationInstance. setIndex(int level,
        int index)Sets this AnimationInstance's index at the specified level to the
 specified value. | 
| AnimationInstance | AnimationInstance. setIndex(int level,
        int index,
        boolean resetLowerIndices)Sets this AnimationInstance's index at the specified level to the
 specified value. | 
| AnimationInstance | AnimationInstance. setSpeed(int level,
        long speed)Sets this AnimationInstance's speed at the specified level to the
 specified value. | 
| AnimationInstance | AnimationInstance. setSpeed(long speed)Sets this AnimationInstance's speed at its highest level to the specified
 value. | 
| AnimationInstance | AnimationInstance. setTimeFactor(long timeFactor)Sets this AnimationInstance's time factor to the specified value. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | GameState. addAnimInstance(AnimationInstance instance)Adds the specified AnimationInstance to this GameState without an ID, if
 it is not already assigned to a GameState. | 
| boolean | GameState. removeAnimInstance(AnimationInstance instance)Removes the specified AnimationInstance from this GameState if it is
 currently assigned to this GameState without an ID. | 
| boolean | GameState. setAnimInstance(int id,
               AnimationInstance instance)Sets the AnimationInstance that is assigned to this GameState with the
 specified ID to the specified AnimationInstance, if it is not already
 assigned to a GameState. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnimationInstance | SpaceObject. addAnimInstance(Animation animation)Adds a new AnimationInstance of the specified Animation to this
 SpaceObject without an ID. | 
| AnimationInstance | SpaceObject. getAnimInstance()Returns the AnimationInstance that is assigned to this SpaceObject with
 ID 0, or AnimationInstance.BLANK if there is none. | 
| AnimationInstance | SpaceObject. getAnimInstance(int id)Returns the AnimationInstance that is assigned to this SpaceObject with
 the specified ID, or AnimationInstance.BLANK if there is none. | 
| AnimationInstance | SpaceObject. setAnimation(Animation animation)Sets this SpaceObject's AnimationInstance with ID 0 to a new
 AnimationInstance of the specified Animation, if there is not already an
 AnimationInstance of that Animation assigned with ID 0, then sets this
 SpaceObject's appearance to its AnimationInstance with ID 0. | 
| AnimationInstance | SpaceObject. setAnimation(int id,
            Animation animation)Sets the AnimationInstance that is assigned to this SpaceObject 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 | SpaceObject. addAnimInstance(AnimationInstance instance)Adds the specified AnimationInstance to this SpaceObject without an ID,
 if it is not already assigned to a GameState. | 
| boolean | SpaceObject. removeAnimInstance(AnimationInstance instance)Removes the specified AnimationInstance from this SpaceObject if it is
 currently assigned to this GameState without an ID. | 
| boolean | SpaceObject. setAnimInstance(AnimationInstance instance)Sets both this SpaceObject's appearance and its AnimationInstance with ID
 0 to the specified AnimationInstance, if it is not already assigned to a
 GameState. | 
| boolean | SpaceObject. setAnimInstance(int id,
               AnimationInstance instance)Sets the AnimationInstance that is assigned to this SpaceObject with the
 specified ID to the specified AnimationInstance, if it is not already
 assigned to a GameState. |