Files
entt/test/lib/types.h
2019-03-15 14:42:50 +01:00

23 lines
338 B
C

#include <entt/core/type_traits.hpp>
#include <entt/signal/emitter.hpp>
struct test_emitter
: entt::emitter<test_emitter>
{};
ENTT_NAMED_STRUCT(position, {
int x;
int y;
})
ENTT_NAMED_STRUCT(velocity, {
int dx;
int dy;
})
ENTT_NAMED_STRUCT(an_event, {
int payload;
})
ENTT_NAMED_STRUCT(another_event, {})