I'm creating a 2D SDL game right now and I want to organize everything. Do you think making too many classes and functions under them eats a lot of memory?
instead of making
I'll make it.Code:while( quit== false) { checkinput() draw() update() fpscap() }
Code:while( engine.didquit() ) { fps.start() player.checkinput() sprite.draw() sprite.update() fps.cap() }