Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quit button access in controller #15

Closed
cebudding opened this issue May 21, 2019 · 1 comment
Closed

Quit button access in controller #15

cebudding opened this issue May 21, 2019 · 1 comment
Assignees

Comments

@cebudding
Copy link
Collaborator

Hey everyone,

In the implemented full-screen mode of our game, a crucial component is the quit button(the normal option buttons wont be visible anymore). Since the controller receives the event of a click, we (View team) would like to request for implementing the same. P.S: We could implement this by calling the quit button via its ID (quit_button) using the function (get_element_by_id) and then implement the system quit option. This needs to be implemented both in the game view and in the start view.
Kindly DO NOT run the view without implementing this function as none of the other operating systems but Windows have an option to quit from the game.

@marcbue
Copy link
Collaborator

marcbue commented May 22, 2019

we implemented an event called: 'quit_game' in controller.
If you give us this event when an appropriate button is pressed the controller will handle it.
You can close this ticket after you implemented the button in the view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants