Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graphite/engine/core/include/system.hpp

22 lines
282 B
C++
Raw Normal View History

2024-01-03 16:05:02 -05:00
#pragma once
class Engine;
class System
{
public:
virtual ~System() {}
void SetEngine(Engine* engine)
{
m_engine = engine;
}
virtual void Initialize() {}
virtual void Cleanup() {}
virtual void Update() {}
protected:
Engine* m_engine;
};