ARTech-Industries / BrickBreaker

0 stars 19 forks source link

Added pause functionality #31

Closed mikepmerritt closed 6 months ago

mikepmerritt commented 6 months ago

This is a solution to issue #9.

I have implemented a basic pause and unpause on pressing P by taking the game loop logic and moving it within a check for a paused Boolean. For the time being, it is strictly functional - there is no visual, but I know that @alexpower9 was working on a controls screen, so maybe that could go here to fill the space? I included a TODO comment to show where that screen could be added.