#pragma once

#include <entityx/entityx.h>
#include "../Renderer.h"
#include "../Camera.h"
#include "../Assets.h"


struct RenderSystem : public entityx::System<RenderSystem> {
    RenderSystem(Renderer *renderer, OrtographicCamera *camera, Assets *assets) : _renderer(renderer), _camera(camera), _assets(assets) {}
    void update(entityx::EntityManager &es, entityx::EventManager &events, entityx::TimeDelta dt) override;
    Renderer *_renderer;
    OrtographicCamera *_camera;
    Assets *_assets;
};