PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/TGame/TCommon/Observer/ObsImpEM.cpp

http://awoe.googlecode.com/
C++ | 21 lines | 15 code | 6 blank | 0 comment | 0 complexity | f9f98b77baae5fa36b5370cf8f4631f9 MD5 | raw file
 1#include "stdafx.h"
 2#include "ObsImpEM.h"
 3
 4
 5ObsImpEM::ObsImpEM()
 6:m_wpHost(NULL)
 7{
 8
 9}
10
11ObsImpEM::~ObsImpEM()
12{
13
14}
15
16bool
17ObsImpEM::setHost(IGeneHost* pHost)
18{
19	m_wpHost = dynamic_cast<IEntityManager*>(pHost);
20	return m_wpHost!=NULL;
21}