31#ifndef SILICON_EVENT_HPP
32#define SILICON_EVENT_HPP
38#include "SDL_events.h"
59void Pub(
const T& data);
68 friend void Si::Pub<T>(
const T& data);
The Subscriber class allows you to listen in on published events of type T.
Sub(Callback func)
Creates a new subscriber with the function to call on an event publish.
void Pub(const T &data)
Publishes an event of type T to all subscribers immediately.
gsl::strict_not_null< T > NotNull
Published when the Engine begins it's shutdown procedures.