🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
338 B

#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, {})