Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
signal.h
1
9
#ifndef EVENT_H_DEFINED
10
#define EVENT_H_DEFINED
11
12
#include <core.h>
13
14
namespace
rune
{
15
16
class
Subject;
17
18
class
RUNE_ENGINE
Signal
19
{
20
public
:
22
Subject
*
signalCreator
;
24
void (*functionPtr);
26
Signal
(
Subject
* creator,
void
* callback);
27
28
};
29
30
}
31
32
#endif
33
rune::Signal::signalCreator
Subject * signalCreator
Who the signal originated from.
Definition:
signal.h:22
rune::Signal
Object that is used as a signal to notify observers of action.
Definition:
signal.h:19
rune::Subject
A subject that can be watched for signals by observers.
Definition:
subject.h:21
rune
The main namespace to be used for interfacing with the engine.
Definition:
animator.h:21
RuneEngine
src
Events
signal.h
Generated on Tue Feb 2 2021 12:53:34 for the Rune Engine with
1.8.18.