Much changes!
|
The whole game has been reworked a lot and the current method for creating a sprite is to do Sprite* ball = new Sprite(“ball.png”, 100, 300);
This will create a sprite at position 100, 300 with a ball image. I exploded the drawManager and divided it into parts, mostly in the WindowManager which manages window and renderer operations(mostly SDL stuff). The current version of the window Manager only takes one window and renderer but it will be changed to have multiple windows and renderers.
More updates is coming.. 😉
|