resonance 1.0.1
Loading...
Searching...
No Matches
messagefactory.h
Go to the documentation of this file.
1#pragma once
2
3class Message;
4
6typedef Message *(*MessageFactoryProc)();
7
18public:
29 MessageFactory(int nType, MessageFactoryProc pfnCreate);
30};
MessageFactory(int nType, MessageFactoryProc pfnCreate)
Insert a factory into the list, ordered by identity.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Message *(* MessageFactoryProc)()
Produces one default-constructed message of a registered class.
Definition messagefactory.h:6