diff --git a/dinkyecs.hpp b/dinkyecs.hpp index 70e2d37..9e8011c 100644 --- a/dinkyecs.hpp +++ b/dinkyecs.hpp @@ -80,5 +80,17 @@ namespace DinkyECS { } } } + + /* + template + void send(int event, std::any data) { + + } + + template + std::tuple recv() { + + } + */ }; } diff --git a/meson.build b/meson.build index 757fda3..f66a786 100644 --- a/meson.build +++ b/meson.build @@ -24,6 +24,7 @@ runtests = executable('runtests', [ 'tests/map.cpp', 'tests/collider.cpp', 'tests/sound.cpp', + 'tests/dinkyecs.cpp', ], dependencies: dependencies) @@ -40,11 +41,6 @@ roguish = executable('roguish', [ ], dependencies: dependencies) -myecstest = executable('myecstest', [ - './scratchpad/myecstest.cpp' - ], - dependencies: dependencies) - collider = executable('collider', [ './scratchpad/collider.cpp' ], diff --git a/systems.cpp b/systems.cpp index 234505c..157ebb2 100644 --- a/systems.cpp +++ b/systems.cpp @@ -8,7 +8,6 @@ using std::string; using namespace fmt; - using namespace Components; #define HEARING_DISTANCE 8 diff --git a/scratchpad/myecstest.cpp b/tests/dinkyecs.cpp similarity index 100% rename from scratchpad/myecstest.cpp rename to tests/dinkyecs.cpp