YAPOG  0.0.1
Yet Another Pokemon Online Game
PokemonInfoBox.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_INFOBOX_HPP
2 # define YAPOG_CLIENT_INFOBOX_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  class PictureBox;
10  class Label;
11  class VerticalLayout;
12 }
13 
14 namespace ycl
15 {
16  class Pokemon;
17 
19  {
20  public:
22  bool isMainPokemon,
23  const Pokemon& pokemon);
24 
25  void SetIsSelected (bool value);
26 
27  virtual bool IsFocusable () const;
28 
29  protected:
30  virtual void HandleMove (const yap::Vector2& offset);
31  virtual void HandleScale (const yap::Vector2& factor);
32  virtual void HandleDraw (yap::IDrawingContext& offset);
33  virtual void HandleShow (bool isVisible);
34  virtual void HandleChangeColor (const sf::Color& color);
35  virtual void HandleUpdate (const yap::Time& dt);
36 
37  private:
38  const Pokemon& pokemon_;
50 
51  };
52 } // namespace ycl
53 
54 #endif // YAPOG_CLIENT_INFOBOX_HPP