PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/TGame/TCommon/Observer/ObsImpEM.h

http://awoe.googlecode.com/
C++ Header | 26 lines | 14 code | 7 blank | 5 comment | 0 complexity | 9de90e59382f3df7082cdce323594354 MD5 | raw file
 1#ifndef __OBS_IMPLEMENTATION___FOR_ENTITY
 2#define __OBS_IMPLEMENTATION___FOR_ENTITY
 3
 4#include "Observer/ObsImp.h"
 5#include "Entity/EntityManagerIf.h"
 6
 7//
 8//	Observer on entity manager
 9class ObsImpEM : public ObsImp
10{
11public:
12	ObsImpEM();
13	virtual	~ObsImpEM();
14
15	//
16	//	set gene host
17	//
18	virtual bool setHost(IGeneHost* pHost);
19
20
21protected:
22	IEntityManager*	m_wpHost;
23};
24
25
26#endif