Skip to content

refactored to use Single Entity and System to render all other entities

Ian McLerran requested to merge staging into master

Previously, each entity which should be rendered had its own draw component. The problem with this system is that it does not allow the order in which entities are rendered to be defined.

Refactored to use a GameEntity which has a RenderComponent and RenderSystem, where the RenderSystem is responsible for rendering all drawable entities.

Merge request reports

Loading