Project-Rekt / engine

Game Engine - Currently on version MASON
https://project-rekt.github.io/engine/index.html
Apache License 2.0
1 stars 3 forks source link

Add default super method calling #12

Closed Squishy123 closed 4 years ago

Squishy123 commented 4 years ago

Add Default Super Method Calling

For inherited methods, overloading is inevitable. However it might be useful to consider adding a default super method calling, so inherited class methods won't have to keep constantly calling the super method to extend functionality.

Task

Add default super calling in stage main loops

  1. Check if the actor is a child of another class
  2. If so, call super method and go up.
Squishy123 commented 4 years ago

dont need this