YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonSingleMoveInfoWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_POKEMONSINGLEMOVENFOWIDGET_HPP
2 # define YAPOG_CLIENT_POKEMONSINGLEMOVENFOWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  class PictureBox;
10  class Label;
11  class HorizontalLayout;
12  class VerticalLayout;
13  class PokemonMove;
14 }
15 
16 namespace ycl
17 {
18  class Pokemon;
19 
21  {
22  public:
24 
25  void Init ();
26 
27  void SetPokemonMove (const yap::PokemonMove& move);
28 
29  virtual bool IsFocusable () const;
30 
31  protected:
32  virtual void HandleMove (const yap::Vector2& offset);
33  virtual void HandleScale (const yap::Vector2& factor);
34  virtual void HandleDraw (yap::IDrawingContext& offset);
35  virtual void HandleShow (bool isVisible);
36  virtual void HandleChangeColor (const sf::Color& color);
37  virtual void HandleUpdate (const yap::Time& dt);
38 
39  private:
40  // Labels
43 
44  // PictureBoxes
46 
47  // Layouts
51  };
52 } // namespace ycl
53 
54 #endif // YAPOG_CLIENT_POKEMONSINGLEMOVENFOWIDGET_HPP