The player update code should be abstracted from the actual game app. Added additonal update function to the player game object. Additionally the update function can be added in the base class so every game object implements it if needed.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
Description
The player update code should be abstracted from the actual game app. Added additonal update function to the player game object. Additionally the update function can be added in the base class so every game object implements it if needed.
Type of change
Checklist: