Hi, i am learning SDL (C++), it is going pretty well but i have a problem. i have no idea how to structure my classes and how not to make a complete fucking mess of my code.
i can make some cool small projects if i just have my main file and then i have for example a player class and a enemy class. and then in the main file just do
player.handleLogic()
enemy.handleLogic()
player.draw()
enemy.draw()
and then that for all my objects... so that isn't working.
my question is how do i handle my …