YAPOG  0.0.1
Yet Another Pokemon Online Game
WildBattle.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_WILDBATTLE_HPP
2 # define YAPOG_CLIENT_WILDBATTLE_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 # include "Battle/Battle.hpp"
8 
9 namespace ycl
10 {
11  class BattleInterface;
12 
13  class WildBattle : public Battle
14  {
15  public:
16  WildBattle (BattleInterface& battleInterface);
17  virtual ~WildBattle ();
18 
19  protected:
20  virtual void HandleInit ();
21  virtual void HandleUpdate (const yap::Time& dt);
22 
23  virtual void HandleDraw (yap::IDrawingContext& context);
24  virtual void HandleShow (bool isVisible);
25  virtual void HandleChangeColor (const sf::Color& color);
26 
27  static const bool DEFAULT_VISIBLE_STATE;
28  static const sf::Color DEFAULT_COLOR;
29 
30  bool isVisible_;
31  sf::Color color_;
32  };
33 } // namespace ycl
34 
35 #endif // YAPOG_CLIENT_WILDBATTLE_HPP