| Package | Description | 
|---|---|
| org.cell2d | |
| org.cell2d.basic | |
| org.cell2d.space | |
| org.cell2d.space.basic | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Event<T extends CellGame,U extends GameState<T,U,?>>An Event represents a sequence of actions that can be taken as part of the
 mechanics of a GameState. | 
| class  | EventGroup<T extends CellGame,U extends GameState<T,U,?>>An EventGroup is an ordered group of Events. | 
| class  | GameState<T extends CellGame,U extends GameState<T,U,V>,V extends SubThinker<T,U,V>>A GameState represents one state that a CellGame can be in, such as the
 main menu, the options menu, in the middle of a level, etc. | 
| class  | SubThinker<T extends CellGame,U extends GameState<T,U,V>,V extends SubThinker<T,U,V>>A SubThinker is a type of Thinker that contributes to the mechanics of
 another Thinker to which it is assigned. | 
| class  | Thinker<T extends CellGame,U extends GameState<T,U,V>,V extends SubThinker<T,U,V>>A Thinker is a collection of methods that contributes to the mechanics of
 a GameState to which it is assigned. | 
| Modifier and Type | Method and Description | 
|---|---|
| GameState | CellGame. getCurrentState()Returns the GameState that this CellGame is currently in. | 
| GameState | AnimationInstance. getGameState()Returns the GameState to which this AnimationInstance is assigned, or
 null if it is not assigned to one. | 
| GameState | CellGame. getState(int id)Returns this CellGame's GameState with the specified ID, or null if there
 is none. | 
| Modifier and Type | Method and Description | 
|---|---|
| AnimationInstance | AnimationInstance. setGameState(GameState state)Sets the GameState to which this AnimationInstance is assigned. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicStateA BasicState is a type of GameState that uses BasicThinkers, which have no
 special capabilities, and treats its CellGame as a basic CellGame. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SpaceState<T extends CellGame,U extends SpaceState<T,U,V>,V extends SpaceThinker<T,U,V>>A SpaceState is a type of GameState that handles gameplay in a continuous
 two-dimensional space. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BasicSpaceStateA BasicSpaceState is a type of SpaceState that uses BasicSpaceThinkers,
 which have no special capabilities, and treats its CellGame as a basic
 CellGame. |