Rune Engine  Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
rune::Signal Class Reference

Object that is used as a signal to notify observers of action. More...

#include <signal.h>

Collaboration diagram for rune::Signal:

Public Member Functions

 Signal (Subject *creator, void *callback)
 Default constructor to create a signal. More...
 

Public Attributes

SubjectsignalCreator
 Who the signal originated from.
 
void * functionPtr
 What was the type of signal sent.
 

Detailed Description

Object that is used as a signal to notify observers of action.

Author
Thomas Montano
Date
July 24 2020

Constructor & Destructor Documentation

◆ Signal()

rune::Signal::Signal ( Subject creator,
void *  callback 
)

Default constructor to create a signal.

Parameters
creatorA pointer to the person who pushed out the signal.
callbackThe function to call when this signal is sent.

The documentation for this class was generated from the following files: