YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonFrontInfoWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_POKEMONFRONTINFOWIDGET_HPP
2 # define YAPOG_CLIENT_POKEMONFRONTINFOWIDGET_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 }
14 
15 namespace ycl
16 {
17  class Pokemon;
18 
20  {
21  public:
23 
24  void Init ();
25 
26  void SetPokemon (const Pokemon& pokemon);
27 
28  virtual bool IsFocusable () const;
29 
30  protected:
31  virtual void HandleMove (const yap::Vector2& offset);
32  virtual void HandleScale (const yap::Vector2& factor);
33  virtual void HandleDraw (yap::IDrawingContext& offset);
34  virtual void HandleShow (bool isVisible);
35  virtual void HandleChangeColor (const sf::Color& color);
36  virtual void HandleUpdate (const yap::Time& dt);
37 
38  private:
39  // Labels
42 
43  // PictureBoxes
46 
47  // Layouts
54 
55  // Sprite
58 
59  };
60 } // namespace ycl
61 
62 #endif // YAPOG_CLIENT_POKEMONFRONTINFOWIDGET_HPP