![]() |
Angel
A 2D Game Prototyping Engine
|
An interface for sending and receiving Messages via the Switchboard. More...
#include <Message.h>
Inheritance diagram for MessageListener:Public Member Functions | |
| virtual void | ReceiveMessage (Message *m)=0 |
Any class that wants to participate in messaging must implement this interface. It simply defines a function for the Switchboard to call when delivering Messages.
| virtual void MessageListener::ReceiveMessage | ( | Message * | m | ) | [pure virtual] |
The Switchboard class will call this function for every Message to be deliverd to a designated listener. Implementations of this function should filter on Message::GetMessageName to make sure they're responding to the appropriate signals.
| m | The message to be delivered. |
Implemented in Actor, World, TextActor, GameManager, FullScreenActor, and ConfigUpdater.


1.7.5.1