Hey! I’m making a physics library and I’m currently wondering how to structure it. I said in the 1GAM chatroom that I planned to make shapes and bodies so that you could extend them with your game objects, they said that’s a bad idea. Someone mentioned entities. I’ve haven’t heard about it before and decided to try.
Here’s the body class: http://pastebin.com/661NDhCR
Here’s a game object class: http://pastebin.com/LdvvLdwS
I’m wondering if I’m doing this right.