Created LevelSelectorState
- code removed from main.cpp and added into a new class
This commit is contained in:
@ -43,7 +43,6 @@ struct StateContext {
|
||||
int* startLevelSelection = nullptr;
|
||||
int* hoveredButton = nullptr;
|
||||
// Menu popups (exposed from main)
|
||||
bool* showLevelPopup = nullptr;
|
||||
bool* showSettingsPopup = nullptr;
|
||||
bool* showExitConfirmPopup = nullptr; // If true, show "Exit game?" confirmation while playing
|
||||
// Pointer to the application's StateManager so states can request transitions
|
||||
|
||||
Reference in New Issue
Block a user