Skip to content

79 implement in game view #91

Merged
merged 9 commits into from
May 13, 2026
Merged

79 implement in game view #91

merged 9 commits into from
May 13, 2026

Conversation

tommyah
Copy link
Member

@tommyah tommyah commented May 13, 2026

Changed how view controllers handle buttons:
Instead of each view having a getter method for every button, they assign a button to an action enum, which is used as reference in the respective controller.

Added top bar and a draft of stats page in in-game view.

Updated how Exchange handles buying/selling:
Now it calls a method in the player so the player internally handles updating archive/portfolio and withdrawing/adding money.
Week variable is now of type IntegerProperty to allow for external listening. This is used in SummaryController to automatically update the "week: x" label.

@tommyah tommyah linked an issue May 13, 2026 that may be closed by this pull request
@tommyah tommyah requested a review from etsorens May 13, 2026 08:35
Copy link
Member

@etsorens etsorens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@etsorens etsorens merged commit f1a96a6 into main May 13, 2026
1 check passed
@etsorens etsorens deleted the 79-implement-in-game-view branch May 13, 2026 11:22
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement in game view
2 participants