Implementing basic physics

This commit is contained in:
Dynamitos
2022-11-29 16:34:42 +01:00
parent 3d3e264867
commit 1e04da963d
39 changed files with 1999 additions and 145 deletions
+2
View File
@@ -1,5 +1,6 @@
target_sources(Engine
PRIVATE
EventManager.h
Util.h
Scene.cpp
Scene.h)
@@ -7,5 +8,6 @@ target_sources(Engine
target_sources(Engine
PUBLIC FILE_SET HEADERS
FILES
EventManager.h
Util.h
Scene.h)
+25
View File
@@ -0,0 +1,25 @@
#pragma once
#include <entt/entt.hpp>
namespace Seele
{
template<typename T>
struct Event
{
};
class EventManager
{
public:
template<typename T>
void pushEvent(Event<T> event)
{
}
template<typename T>
void subscribe()
{
}
private:
};
} // namespace Seele