Started implementation of events for InputSystem and SoundSystem
This commit is contained in:
+4
-1
@@ -3,7 +3,10 @@
|
||||
|
||||
BaseEventRelay::~BaseEventRelay()
|
||||
{
|
||||
m_Broker->Unsubscribe(*this);
|
||||
if (m_Broker != nullptr)
|
||||
{
|
||||
m_Broker->Unsubscribe(*this);
|
||||
}
|
||||
}
|
||||
|
||||
void EventBroker::Unsubscribe(BaseEventRelay &relay) // ?
|
||||
|
||||
Reference in New Issue
Block a user