Implementing basic physics
This commit is contained in:
@@ -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)
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user