59 (*it)->notifyResized(oldWidth, oldHeight, newWidth, newHeight);
66 (*it)->notifyCameraMoved();
void unregisterNotifyable(const std::list< Notifyable *>::iterator &it)
void cameraMoved()
Notify all Notifyables that the camera moved.
std::list< Notifyable * >::iterator registerNotifyable(Notifyable ¬ifyable)
std::list< Notifyable * > _notifyables
void resized(int oldWidth, int oldHeight, int newWidth, int newHeight)
Notify all Notifyables that the screen size changed.
The notification manager, handling all notifications.
#define DECLARE_SINGLETON(T)
Note that you need to use this macro from the global namespace.
The notification manager, handling all notifications.
A class that can be notified by the NotificationManager.
Convenience class that locks a mutex on creation and unlocks it on destruction.