Add Drawable system interface in the engine; hide object sprite / texture preparation behind #2628
Labels
context: code
fixing/improving existing code: refactor, optimise, tidy...
context: graphics
type: enhancement
a suggestion or necessity to have something improved
what: engine
related to the game engine
This is written after my own comment in an older ticket.
The code that gathers object textures for drawing right now is a bit too "open", and also duplicates a lot of things between different object types (character/objects and overlays for instance).
The idea is to create a Drawable system interface, separated from the runtime object classes, that would hide any manipulations to sprites and textures, and prepare a list of textures to render before passing into the graphics renderer.
The text was updated successfully, but these errors were encountered: