/********************************************************************
*
* Created: 25/2/2014 11:48
*
* File: fsIMessageListenerComponent.h
*
* Author: Mick Waites
*
* Purpose: Component base. Components get added to Entities.
*
*********************************************************************/
#ifndef fsIMessageListenerComponenthdr
#define fsIMessageListenerComponenthdr
#include <fsCore/fsBaseTypes.h>
#include "../../fsIMessageListener.h"
#include "fsIComponent.h"
class fsAffineMtx2d;
class fsStr;
class fsCEntity;
class fsCVariableTable;
class fsIMessageListenerComponent : public fsIComponent, public fsIMessageListener
{
public:
fsIMessageListenerComponent(fsCEntity* pParent);
fsIMessageListenerComponent(fsCEntity* pParent, fsS32 pPriority);
virtual ~fsIMessageListenerComponent();<--- Destructor in derived class
protected:
private:
};
#endif