I am using SFML (http://sfml-dev.org) as opposed to writing lower-level code with OpenGL.
My main objective is to develop a very sufficient engine class that would manage an objects class.
I need help developing the engine class that simply initializes a list that stores all the object instance references.
The engine class will also have a few methods that loops through the entire list and manages/draws the instances:
To manage all the object instances, I would like to use a parent object for referencing with the engine class, this way.... I can easily add new objects that are children of this parent object. These children objects would have a "step method", which is executed every frame. The parent object would have a virtual "step method"... Then the engine class would execute this "step method".
I need help acheiving this.
I used to use Game Maker, and I am basically trying to maintain the same system that Game Maker uses.