tomato/test/lib/emitter/lib.cpp

9 lines
196 B
C++
Raw Normal View History

#include <entt/core/attribute.h>
#include "types.h"
ENTT_API void emit(test_emitter &emitter) {
emitter.publish(event{});
emitter.publish(message{42});
emitter.publish(message{3});
}