2026-07-17 15:30:29 +01:00
|
|
|
#ifndef HYDRAINITIALISECOMPONENTSTASK
|
|
|
|
|
#define HYDRAINITIALISECOMPONENTSTASK
|
|
|
|
|
#include "../HydraTask.h"
|
|
|
|
|
#include "../../engine/HydraEngine.h"
|
|
|
|
|
#include "../../ecs/HydraECS.h"
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HydraInitialiseComponentsTask : public HydraTask
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
public:
|
|
|
|
|
virtual void Process() override
|
|
|
|
|
{
|
2026-08-28 16:36:25 +01:00
|
|
|
|
2026-07-17 15:30:29 +01:00
|
|
|
GetEngine()->ECS()->InitialiseComponents();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif /* HYDRAINITIALISECOMPONENTSTASK */
|