Original Post
hi everyone, few days ago i started to doodle some structure of graphical core for 2d games, but somehow i got stuck at the part where the logic of graphical objects is forwarded to the instance of the engine that draws it on the screen. let's say i consider in my engine a class that contains all the sprites and some functions for adding them, removing them, drawing etc. then i have some graphical objects with logic like coordinates etc. and a sprite id. how do i forward these coordinates to the instance of the graphical core so that i wont have to care about it anymore ?(it will always forward itself and i wont have to write another line)? is there some object manager necessary? whats the convention?