-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored code to employ D.R.Y principles and reduce CPU consumption
created seperate functions for start and init to avoid rerendering the entire game screen every frame employed the usage of new Button class to reduce the hard coded functionalities for buttons in the main screen
- Loading branch information
Showing
1 changed file
with
80 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters