Files
entt/test/lib/types.h
2019-10-21 14:23:22 +02:00

26 lines
388 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, {});
ENTT_NAMED_TYPE(int);
ENTT_NAMED_TYPE(char);