YAPOG  0.0.1
Yet Another Pokemon Online Game
BattlePhaseManager.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_BATTLEPHASEMANAGER_HPP
2 # define YAPOG_CLIENT_BATTLEPHASEMANAGER_HPP
3 
4 # include "YAPOG/Macros.hpp"
7 
8 namespace ycl
9 {
11  {
13 
14  public:
16  virtual ~BattlePhaseManager ();
17 
20  virtual void Draw (yap::IDrawingContext& context);
21 
22  virtual bool IsVisible () const;
23  virtual void Show (bool isVisible);
24 
25  virtual void ChangeColor (const sf::Color& color);
27 
28  protected:
29  virtual void HandleDraw (yap::IDrawingContext& context);
30  virtual void HandleShow (bool isVisible);
31  virtual void HandleChangeColor (const sf::Color& color);
32 
33  static const bool DEFAULT_VISIBLE_STATE;
34  static const sf::Color DEFAULT_COLOR;
35 
36  bool isVisible_;
37  sf::Color color_;
38  };
39 } // namespace ycl
40 
41 #endif // YAPOG_CLIENT_BATTLEPHASEMANAGER_HPP