interpreting monopoly as multi scree game

This commit is contained in:
Adolfo Reyna
2026-01-31 19:05:58 -05:00
parent 2165186b6b
commit 561f7c5951
7 changed files with 138 additions and 221 deletions

View File

@@ -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;
};