jcarrier0026 / dbz

simple dbz game
1 stars 0 forks source link

Make a "Game" class to call from main #3

Closed mrmarkwell closed 4 years ago

mrmarkwell commented 4 years ago

Let's make a class called "Game" that is the top-level class. It will be the game orchestrator, creating all the necessary subclasses and running everything.

Move the graphics object into the Game class. Create and run the graphics object from a "run" function in the Game class.

Remember to keep any Graphics details hidden inside the Graphics class.

mrmarkwell commented 4 years ago

Also let's make an input class in the same issue.