YAPOG  0.0.1
Yet Another Pokemon Online Game
IDynamicWorldObjectVisitor.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IDYNAMICWORLDOBJECTVISITOR_HPP
2 # define YAPOG_IDYNAMICWORLDOBJECTVISITOR_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 (DynamicWorldObject& visitable) = 0;
19  virtual void VisitCharacter (Character& visitable) = 0;
20  virtual void VisitPlayer (IPlayer& visitable) = 0;
21  virtual void VisitTeleporter (Teleporter& visitable) = 0;
22  virtual void VisitDestructibleObject (DestructibleObject& visitable) = 0;
23  virtual void VisitBattleSpawnerArea (BattleSpawnerArea& visitable) = 0;
24  };
25 } // namespace yap
26 
27 #endif // YAPOG_IDYNAMICWORLDOBJECTVISITOR_HPP