cd4abe6007
- Add Signal class to ECS used to send signals/events into systems
16 lines
241 B
C++
16 lines
241 B
C++
#include "copium/event/EventSignal.h"
|
|
|
|
namespace Copium
|
|
{
|
|
EventSignal::EventSignal(const Event& event)
|
|
: event{event}
|
|
{}
|
|
|
|
const Event& EventSignal::GetEvent() const
|
|
{
|
|
return event;
|
|
}
|
|
|
|
CP_SIGNAL_DEFINITION(EventSignal);
|
|
}
|