YAPOG  0.0.1
Yet Another Pokemon Online Game
IDynamicWorldObjectConstVisitor.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IDYNAMICWORLDOBJECTCONSTVISITOR_HPP
2 # define YAPOG_IDYNAMICWORLDOBJECTCONSTVISITOR_HPP
3 
4 namespace yap
5 {
6  struct IPlayer;
7 
8  class DynamicWorldObject;
9  class Character;
10  class Teleporter;
11  class DestructibleObject;
12  class BattleSpawnerArea;
13 
15  {
17 
18  virtual void VisitDynamicWorldObject (
19  const DynamicWorldObject& visitable) = 0;
20 
21  virtual void VisitCharacter (const Character& visitable) = 0;
22  virtual void VisitPlayer (const IPlayer& visitable) = 0;
23  virtual void VisitTeleporter (const Teleporter& visitable) = 0;
24  virtual void VisitDestructibleObject (
25  const DestructibleObject& visitable) = 0;
26  virtual void VisitBattleSpawnerArea (
27  const BattleSpawnerArea& visitable) = 0;
28  };
29 } // namespace yap
30 
31 #endif // YAPOG_IDYNAMICWORLDOBJECTCONSTVISITOR_HPP