29 lines
653 B
C++
29 lines
653 B
C++
#ifndef HYDRALIGHTSYSTEM
|
|
#define HYDRALIGHTSYSTEM
|
|
|
|
#include "../../engine/HydraObject.h"
|
|
#include "../HydraSystem.h"
|
|
#include "../components/HydraLightComponent.h"
|
|
#include <GLMIncludes.h>
|
|
#include <queue>
|
|
#include <vector>
|
|
|
|
|
|
|
|
class HydraLightSystem : public HydraSystem
|
|
{
|
|
public:
|
|
void Initialise() override;
|
|
void InitialiseComponent(HydraID entity_id) override;
|
|
protected:
|
|
|
|
void DestroyComponent(HydraID actor_id) override;
|
|
virtual void UpdateSystem(float delta_t_seconds);
|
|
private:
|
|
|
|
HydraID m_light_buffer_id = INVALID_HYDRA_ID;
|
|
|
|
|
|
};
|
|
#endif /* HYDRALIGHTSYSTEM */
|