mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 12:19:19 +02:00
27 lines
384 B
C++
27 lines
384 B
C++
//
|
|
// 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) {}
|
|
virtual void Render(ECWorld& world) {}
|
|
};
|
|
|
|
|
|
#endif //EU07_BASICSYSTEM_H
|