YAPOG  0.0.1
Yet Another Pokemon Online Game
GameWorldWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_GAMEWORLDWIDGET_HPP
2 # define YAPOG_GAMEWORLDWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  class GameWorldGuiManager;
10 
12  {
14 
15  public:
16 
17  virtual ~GameWorldWidget ();
18 
19  virtual void AddGameWorldWidget (GameWorldWidget* gameWorldWidget);
20  virtual void RemoveGameWorldWidget (GameWorldWidget* gameWorldWidget);
21 
22  virtual bool IsFocusable () const;
23 
24  protected:
25 
26  GameWorldWidget ();
27 
28  virtual const GameWorldGuiManager& GetGameWorldRoot () const;
29 
30  virtual void HandleSetGameWorldParent (
31  const GameWorldWidget& gameWorldParent);
32 
33  private:
34 
35  void SetGameWorldParent (const GameWorldWidget& gameWorldParent);
36 
38 
40  };
41 } // namespace yap
42 
43 #endif // YAPOG_GAMEWORLDWIDGET_HPP