Skip to content

Conversation

@mhawryluk
Copy link
Collaborator

@mhawryluk mhawryluk commented Apr 23, 2022

Description

Created PopupController that is used to manage popups. Popups are now extending Scene class and the PopupController contains a singular scene.

Checklist

  • Included code to test these changes -> clicking 'F' opens the points popup
  • Updated Jira -> still in progress as it needs review

- class responsible for creating and controlling popups, currently only handles PointsEarnedPopup
Copy link
Collaborator

@kkafar kkafar left a comment

Choose a reason for hiding this comment

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

Looks good to me.

I left some cosmetic suggestions.

And just a note for the future: we might consider creating stage "on demand" (not keeping it in memory for all the time). The same thing applies to object creation (right now all the in-game objects are created when the game gets initialized).

Co-authored-by: Kacper Kafara <kacperkafara@gmail.com>
@kkafar kkafar changed the base branch from master to development April 24, 2022 12:23
@kkafar kkafar merged commit edb1e1d into development Apr 24, 2022
@mhawryluk mhawryluk deleted the @mhawryluk/RPG-82-points-popup-refactor branch April 24, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants