Angel
A 2D Game Prototyping Engine
Public Member Functions
MessageListener Class Reference

An interface for sending and receiving Messages via the Switchboard. More...

#include <Message.h>

+ Inheritance diagram for MessageListener:

List of all members.

Public Member Functions

virtual void ReceiveMessage (Message *m)=0

Detailed Description

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.

Definition at line 143 of file Message.h.


Member Function Documentation

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.

Parameters:
mThe message to be delivered.

Implemented in Actor, World, TextActor, GameManager, FullScreenActor, and ConfigUpdater.


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