YAPOG  0.0.1
Yet Another Pokemon Online Game
BaseBattleWidget.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_BASEBATTLEWIDGET_HPP
2 # define YAPOG_CLIENT_BASEBATTLEWIDGET_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  struct ISprite;
10  struct IDrawingContext;
11 
12  class DialogBoxWidget;
13  class WidgetBackground;
14  class Time;
15 } // namespace yap
16 
17 namespace ycl
18 {
20  {
21  public:
23 
24  virtual bool IsFocusable () const;
25  protected:
26  virtual void HandleMove (const yap::Vector2& offset);
27  virtual void HandleScale (const yap::Vector2& factor);
28  virtual void HandleDraw (yap::IDrawingContext& context);
29  virtual void HandleShow (bool isVisible);
30  virtual void HandleChangeColor (const sf::Color& color);
31  virtual void HandleUpdate (const yap::Time& dt);
32  };
33 } // namespace ycl
34 
35 #endif // YAPOG_CLIENT_BASEBATTLEWIDGET_HPP