Repository files navigation
created a starting x and y position
created get and set methods for the x and y position
created a constructor that takes in lives, x position, and y position
there is a set width and height
created get and set methods for the lives, x position, and y position
created enum for gamestates
initializes everything for the game
includes moveball and movepaddle which updates the positions
includes resetLevel method which is called at the beginning of every level
sets conditions for gamestates
includes functions that draw for each gamestate and update
includes conditions for keys that are pressed to progress throughout the game
construct bricks function
a function that initialized a 2d vector with bricks based on the level
includes an x position
created a get and set method for the x position
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.