Sokoban
|
Structure representing Sokoban game state for two player map. More...
#include <State.h>
Public Member Functions | |
TwoPlayerGameState () | |
Constructor. More... | |
![]() | |
GameState () | |
Constructor. More... | |
Public Attributes | |
int | sokoban2_x |
int | sokoban2_y |
![]() | |
int | sokoban_x |
int | sokoban_y |
int | barrels_on_target |
std::vector< std::vector< int > > | barrel_grid |
The grid which for every coordinate determines if there is a barrel. More... | |
std::vector< Barrel > | list_of_barrels |
std::string | hash |
Structure representing Sokoban game state for two player map.
|
inline |
Constructor.
Sets default values for variables
int TwoPlayerGameState::sokoban2_x |
Horizontal position of the second Sokoban.
int TwoPlayerGameState::sokoban2_y |
Vertical position o the secondf Sokoban.