Add upgrade property button, instructions, and square locking to board map. #129

Merged
40435022 merged 1 commit from cadhan/board_map_upgrading_and_locking into dev 2026-02-02 00:15:15 +00:00
40435022 commented 2026-02-01 23:59:32 +00:00 (Migrated from gitlab.eeecs.qub.ac.uk)

Adds an upgrade button to the Board Map property panel, adds locking selection, and adds usage instructions.

  • Locking behaviour: clicking a square locks the main map, hover updates are ignored until unlocked or another square is clicked. Non selected squares are dimmed and the locked one is highlighted.
  • Upgrade button: enabled only when the hovered or locked square is owned by the current player, not at max expansion, and affordable. This triggers PropertySquare.expandProperty() and refreshes the panel info.
  • Other small UI adjustments were made
Adds an upgrade button to the Board Map property panel, adds locking selection, and adds usage instructions. - Locking behaviour: clicking a square locks the main map, hover updates are ignored until unlocked or another square is clicked. Non selected squares are dimmed and the locked one is highlighted. - Upgrade button: enabled only when the hovered or locked square is owned by the current player, not at max expansion, and affordable. This triggers PropertySquare.expandProperty() and refreshes the panel info. - Other small UI adjustments were made
40435022 commented 2026-02-01 23:59:32 +00:00 (Migrated from gitlab.eeecs.qub.ac.uk)

requested review from @40446360, @40441512, @40439721, @40444856, @40441188, and @40457809

requested review from @40446360, @40441512, @40439721, @40444856, @40441188, and @40457809
40435022 commented 2026-02-01 23:59:32 +00:00 (Migrated from gitlab.eeecs.qub.ac.uk)

assigned to @40435022

assigned to @40435022
40441512 (Migrated from gitlab.eeecs.qub.ac.uk) approved these changes 2026-02-01 23:59:32 +00:00
40435022 (Migrated from gitlab.eeecs.qub.ac.uk) scheduled this pull request to auto merge when all checks succeed 2026-02-01 23:59:40 +00:00
40441512 commented 2026-02-02 00:15:13 +00:00 (Migrated from gitlab.eeecs.qub.ac.uk)

approved this merge request

approved this merge request
40435022 commented 2026-02-02 00:15:15 +00:00 (Migrated from gitlab.eeecs.qub.ac.uk)

mentioned in commit e9d4f1ff5f

mentioned in commit e9d4f1ff5f0a862a7afceca75cca0db545be4088
40435022 (Migrated from gitlab.eeecs.qub.ac.uk) merged commit e9d4f1ff5f into dev 2026-02-02 00:15:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
owenryan/carbonopoly!129
No description provided.