/TGame/TCommon/Entity/EntityVisitorImp.cpp
http://awoe.googlecode.com/ · C++ · 52 lines · 30 code · 9 blank · 13 comment · 0 complexity · fd5d96963113dd6243341bedbd37952d MD5 · raw file
- #include "stdafx.h"
- #include "EntityVisitorImp.h"
-
-
- //
- // visit player entity
- bool EntityVisitorImp::visitP(EntityP& e)
- {
- return true;
- }
-
- //
- // visit role entity
- bool EntityVisitorImp::visitR(EntityR& e)
- {
- return true;
- }
-
-
- //
- // visit monster entity
- bool EntityVisitorImp::visitM(EntityM& e)
- {
- return true;
- }
-
- //
- // visit destructible entity
- bool EntityVisitorImp::visitD(EntityD& e)
- {
- return true;
- }
-
- //
- // visit static entity
- bool EntityVisitorImp::visitS(EntityS& e)
- {
- return true;
- }
-
- //
- // visit NPC entity
- bool EntityVisitorImp::visitN(EntityN& e)
- {
- return true;
- }
-
- // visit other entity
- bool EntityVisitorImp::visit(EntityImp& e)
- {
- return true;
- }