Roout / platformer

Attempt to create some decent game
GNU General Public License v2.0
2 stars 0 forks source link

Fat callback functions for the Physics Contact event #4

Open Roout opened 4 years ago

Roout commented 4 years ago

https://github.com/Roout/platformer/blob/6450566c8ef89d302f566dce43e5110fb9b4006e/Classes/LevelScene.cpp#L55-L224

Need to be breaked and divided between different application layers cuz it's obviously not responsibility of only the LevelScene

Roout commented 4 years ago

ANother problem with Fat contact function is the huge number of dynamic casts