YAPOG  0.0.1
Yet Another Pokemon Online Game
BattlePhaseManager.cpp
Go to the documentation of this file.
2 
3 namespace ycl
4 {
6  {
7  }
8 
10  {
11  }
12 
14  {
15  if (!IsVisible ())
16  return;
17 
18  HandleDraw (context);
19  }
20 
22  {
23  return isVisible_;
24  }
25 
26  void BattlePhaseManager::Show (bool isVisible)
27  {
28  isVisible_ = isVisible;
29 
30  HandleShow (isVisible);
31  }
32 
33  void BattlePhaseManager::ChangeColor (const sf::Color& color)
34  {
35  color_ = color;
36 
37  HandleChangeColor (color);
38  }
39 
41  {
42  }
43 
44  void BattlePhaseManager::HandleShow (bool isVisible)
45  {
46  }
47 
48  void BattlePhaseManager::HandleChangeColor (const sf::Color& color)
49  {
50  }
51 } // namespace ycl