YAPOG  0.0.1
Yet Another Pokemon Online Game
BattleInterface.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_BATTLEINTERFACE_HPP
2 # define YAPOG_CLIENT_BATTLEINTERFACE_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
9 # include "Battle/BattleMenu.hpp"
10 # include "Battle/BattleMoveMenu.hpp"
12 
13 namespace yap
14 {
15  class DialogBoxWidget;
16  class GridMenu;
17 } // namespace yap
18 
19 namespace ycl
20 {
21  class BattleBackgroundWidget;
22  class PokemonBattleInfoWidget;
23  class OpponentBattleInfoWidget;
24 
26  {
27  public:
28  BattleInterface ();
29 
30  void Reset ();
31 
32  void AddBattleWidget (const yap::String& name, yap::IWidget* battleWidget);
33 
34  void SetCurrentWidget (const yap::String& name);
35  bool UnsetCurrentWidget ();
36 
46 
47  private:
48  void OpenBattleMoveMenu ();
49 
56 
60 
61  static const bool DEFAULT_ADDED_WIDGET_STATE;
62  };
63 } // namespace ycl
64 
65 #endif // YAPOG_CLIENT_BATTLEINTERFACE_HPP