![]() |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
Object that is used as a signal to notify observers of action. More...
#include <signal.h>
Public Member Functions | |
Signal (Subject *creator, void *callback) | |
Default constructor to create a signal. More... | |
Public Attributes | |
Subject * | signalCreator |
Who the signal originated from. | |
void * | functionPtr |
What was the type of signal sent. | |
Object that is used as a signal to notify observers of action.
rune::Signal::Signal | ( | Subject * | creator, |
void * | callback | ||
) |
Default constructor to create a signal.
creator | A pointer to the person who pushed out the signal. |
callback | The function to call when this signal is sent. |