| Package | Description | 
|---|---|
| org.cell2d | |
| org.cell2d.space | 
| Modifier and Type | Field and Description | 
|---|---|
| static Animation | Animation. BLANKA blank Animation with Sprite.BLANK, duration 0, as its only frame. | 
| Modifier and Type | Method and Description | 
|---|---|
| Animation | AnimationInstance. getAnimation()Returns the Animation that this AnimationInstance is an instance of. | 
| Animation | GameState. getAnimation(int id)Returns the Animation of the AnimationInstance assigned to this GameState
 with the specified ID, or Animation.BLANK if there is none. | 
| Animation | Animation. getFilteredCopy(Filter filter,
               boolean load) | 
| 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. 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. | 
| Constructor and Description | 
|---|
| AnimationInstance(Animation animation)Constructs an AnimationInstance of the specified Animation. | 
| Modifier and Type | Method and Description | 
|---|---|
| Animation | SpaceObject. getAnimation()Returns the Animation of the AnimationInstance assigned to this
 SpaceObject with ID 0, or Animation.BLANK if there is none. | 
| Animation | SpaceObject. getAnimation(int id)Returns the Animation of the AnimationInstance assigned to this
 SpaceObject with the specified ID, or Animation.BLANK if there is none. | 
| 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. 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. |