Sokoban
Variables
States variables.

Variables

bool SokobanApp::keys_disabled
 
bool SokobanApp::new_map_set
 
bool SokobanApp::complete
 
bool SokobanApp::solved
 
int SokobanApp::s_x
 
int SokobanApp::s_y
 
std::string SokobanApp::map_pack_id
 
int SokobanApp::current_map_index
 
std::string SokobanApp::m_user
 
UserSokobanApp::current_user
 

Detailed Description

Variables defining current game status such as current loaded map, current user, sizes, etc.

Variable Documentation

◆ complete

bool SokobanApp::complete
private

Bool variable which determines if the map (puzzle) is solved by user.

◆ current_map_index

int SokobanApp::current_map_index
private

Integer variable representing which map from the list of maps is played.

◆ current_user

User* SokobanApp::current_user
private

Pointer to user which is logged in.

◆ keys_disabled

bool SokobanApp::keys_disabled
private

Bool variable which determines if keys are disabled.

◆ m_user

std::string SokobanApp::m_user
private

String representing a content of text box for user logging in

◆ map_pack_id

std::string SokobanApp::map_pack_id
private

◆ new_map_set

bool SokobanApp::new_map_set
private

Bool variable which determines if the new map was loaded.

◆ s_x

int SokobanApp::s_x
private

Width of current map which is drawed (number of cells)

◆ s_y

int SokobanApp::s_y
private

Width of current map which is drawed (number of cells)

◆ solved

bool SokobanApp::solved
private

Bool variable which determines if solver have solved the map.