Classes in rails.game.state used by rails.game |
ArrayListState
State class that wraps an ArrayList
Generates according list moves
Remark: Does not extend State or implements StateI do avoid additional overhead
All state/move mechanisms already contained in Move objects
For the future a simpler unified StateI would make things clearer
TODO: Replace all stateful lists by this class and simplify according move objects |
BooleanState
|
EnumState
|
GenericState
|
HashMapState
State class that wraps a HashMap
Generates according map moves
Remark: Does not extend State or implements StateI do avoid additional overhead
All state/move mechanisms already contained in Move objects
For the future a simpler unified StateI would make things clearer
TODO: Replace all stateful HashMaps by this class and simplify according move objects |
HashSetState
State class that wraps a HashSet
Generates according set moves
Remark: Does not extend State or implements StateI do avoid additional overhead
All state/move mechanisms already contained in Move objects
TODO: Replace all stateful sets by this class and simplify according move objects |
IntegerState
|
State
|
StringState
|