Package | Description |
---|---|
org.cell2d | |
org.cell2d.basic | |
org.cell2d.space | |
org.cell2d.space.basic |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Thinker<T,U,V> |
SubThinker.getNewSuperThinker()
Returns the Thinker to which this SubThinker is about to be assigned, but
has not yet been due to one or more of the SubThinker lists involved
being iterated over.
|
Thinker<T,U,V> |
SubThinker.getSuperThinker()
Returns this SubThinker's super-Thinker, or null if it has none.
|
Modifier and Type | Method and Description |
---|---|
void |
SubThinker.setSuperThinker(Thinker<T,U,V> thinker)
Sets this SubThinker's super-Thinker to the specified one.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicState
A BasicState is a type of GameState that uses BasicThinkers, which have no
special capabilities, and treats its CellGame as a basic CellGame.
|
class |
BasicThinker
A BasicThinker is a type of SubThinker that is used by BasicStates, which
have no special capabilities, and treats their CellGames as basic CellGames.
|
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.
|
class |
SpaceThinker<T extends CellGame,U extends SpaceState<T,U,V>,V extends SpaceThinker<T,U,V>>
A SpaceThinker is the type of SubThinker that is used by SpaceStates.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicSpaceState
A BasicSpaceState is a type of SpaceState that uses BasicSpaceThinkers,
which have no special capabilities, and treats its CellGame as a basic
CellGame.
|
class |
BasicSpaceThinker
A BasicSpaceThinker is a type of SpaceThinker that is used by
BasicSpaceStates, which have no special capabilities, and treats their
CellGames as basic CellGames.
|