YAPOG  0.0.1
Yet Another Pokemon Online Game
BattleMenu.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_BATTLEMENU_HPP
2 # define YAPOG_CLIENT_BATTLEMENU_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
9 
10 namespace ycl
11 {
12  class BattleMenu : public yap::GridMenu
13  {
15 
16  public:
17  BattleMenu ();
18  virtual ~BattleMenu ();
19 
22  yap::MenuItem& GetItem (int index);
24 
25  protected:
26  virtual void HandleItemActivated ();
27  virtual void HandleItemSelected ();
28 
29  private:
31 
32  static const int ITEM_NUMBER = 4;
34  };
35 } // namespace ycl
36 
37 #endif // YAPOG_CLIENT_BATTLEMENU_HPP