PageRenderTime 33ms CodeModel.GetById 30ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/TGame/TCommon/Entity/EntityVisitorImp.cpp

http://awoe.googlecode.com/
C++ | 52 lines | 30 code | 9 blank | 13 comment | 0 complexity | fd5d96963113dd6243341bedbd37952d MD5 | raw file
 1#include "stdafx.h"
 2#include "EntityVisitorImp.h"
 3
 4
 5//
 6//	visit player entity
 7bool EntityVisitorImp::visitP(EntityP& e)
 8{
 9	return true;
10}
11
12//
13//	visit role entity
14bool EntityVisitorImp::visitR(EntityR& e)
15{
16	return true;
17}
18
19
20//	
21//	visit monster entity
22bool EntityVisitorImp::visitM(EntityM& e)
23{
24	return true;
25}
26
27//
28//	visit destructible entity
29bool EntityVisitorImp::visitD(EntityD& e)
30{
31	return true;
32}
33
34//
35//	visit static entity
36bool EntityVisitorImp::visitS(EntityS& e)
37{
38	return true;
39}
40
41//
42//	visit NPC entity
43bool EntityVisitorImp::visitN(EntityN& e)
44{
45	return true;
46}
47
48//	visit other entity
49bool EntityVisitorImp::visit(EntityImp& e)
50{
51	return true;
52}