interpreting monopoly as multi scree game
This commit is contained in:
@@ -26,6 +26,7 @@ public:
|
||||
bool update(const InputEvent& event) override;
|
||||
void draw() override;
|
||||
|
||||
|
||||
private:
|
||||
// Game state and helpers
|
||||
Player players[MAX_PLAYERS];
|
||||
@@ -39,8 +40,10 @@ private:
|
||||
int selected_action; // 0: Roll, 1: Buy, 2: End Turn
|
||||
static constexpr int ACTION_COUNT = 3;
|
||||
|
||||
// Modal property window state
|
||||
bool show_property_modal = false;
|
||||
// Modal games
|
||||
Game* active_modal = nullptr;
|
||||
int last_dice1 = 0;
|
||||
int last_dice2 = 0;
|
||||
int modal_property_index = -1;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user