16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 03:09:18 +02:00

ECS System WIP

This commit is contained in:
2026-04-07 23:40:03 +02:00
parent f6db9978d2
commit 8e9fd9225f
30 changed files with 1133 additions and 242 deletions

View File

@@ -0,0 +1,25 @@
//
// Created by Daniu
//
#ifndef EU07_BASICSYSTEM_H
#define EU07_BASICSYSTEM_H
#pragma once
class ECWorld;
class BaseSystem
{
public:
virtual ~BaseSystem() = default;
virtual void OnCreate(ECWorld& world) {}
virtual void OnDestroy(ECWorld& world) {}
virtual void Update(ECWorld& world, float dt) {}
};
#endif //EU07_BASICSYSTEM_H