![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <BeginWildBattlePhase.hpp>
Public Member Functions | |
| BeginWildBattlePhase (Battle &battle, BattleInterface &battleInterface) | |
| virtual | ~BeginWildBattlePhase () |
| void | Init () |
BattlePhase members. | |
| virtual void | HandleStart (yap::PhaseArgs *args) |
| virtual void | HandleUpdate (const yap::Time &dt) |
| virtual void | HandleEnd () |
Public Member Functions inherited from ycl::BeginBattlePhase | |
| virtual | ~BeginBattlePhase () |
| virtual void | Draw (yap::IDrawingContext &context) |
| virtual bool | IsVisible () const |
| virtual void | Show (bool isVisible) |
| virtual void | ChangeColor (const sf::Color &color) |
BattlePhase members. | |
Public Member Functions inherited from yap::BattlePhase | |
| BattlePhase (Battle &battle, const BattlePhaseState &battlePhaseState) | |
| const BattlePhaseState & | GetNext () const |
| Getters. | |
| void | Start (PhaseArgs *args) |
| void | End () |
| void | SwitchPhase (BattlePhaseState nextPhase) |
| void | SwitchPhase (BattlePhaseState nextPhase, PhaseArgs *args) |
| PhaseArgs * | GetPhaseArgs () |
| void | SetPreviousPhase (const BattlePhaseState &value) |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
| virtual void | Visit (const ActionPhaseArgs &visitable) |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
Protected Member Functions | |
| virtual void | HandleDraw (yap::IDrawingContext &context) |
| virtual void | HandleShow (bool isVisible) |
| virtual void | HandleChangeColor (const sf::Color &color) |
Protected Member Functions inherited from ycl::BeginBattlePhase | |
| BeginBattlePhase (Battle &battle, BattleInterface &battleInterface) | |
Protected Member Functions inherited from yap::BeginBattlePhase | |
| BeginBattlePhase (Battle &battle) | |
Protected Member Functions inherited from yap::BattlePhase | |
| Battle & | GetBattle () |
Protected Attributes | |
| bool | isVisible_ |
| sf::Color | color_ |
Protected Attributes inherited from ycl::BeginBattlePhase | |
| Battle & | battle_ |
| BattleInterface & | battleInterface_ |
Static Protected Attributes | |
| static const bool | DEFAULT_VISIBLE_STATE = true |
| static const sf::Color | DEFAULT_COLOR = sf::Color () |
Static Protected Attributes inherited from ycl::BeginBattlePhase | |
Private Member Functions | |
| void | UpdatePlayerTrainerBack () |
| void | UpdateOpponentFront () |
Private Attributes | |
| yap::String | nextState_ |
Static Private Attributes | |
| static const float | GROUND_SPEED = 500.f |
| static const yap::String | FISRT_STATE = "Init" |
Definition at line 20 of file BeginWildBattlePhase.hpp.
| ycl::BeginWildBattlePhase::BeginWildBattlePhase | ( | Battle & | battle, |
| BattleInterface & | battleInterface | ||
| ) |
Definition at line 19 of file BeginWildBattlePhase.cpp.
|
virtual |
Definition at line 25 of file BeginWildBattlePhase.cpp.
|
protectedvirtual |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 207 of file BeginWildBattlePhase.cpp.
|
protectedvirtual |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 199 of file BeginWildBattlePhase.cpp.
|
virtual |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 194 of file BeginWildBattlePhase.cpp.
|
protectedvirtual |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 203 of file BeginWildBattlePhase.cpp.
|
virtual |
Reimplemented from ycl::BeginBattlePhase.
|
virtual |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 106 of file BeginWildBattlePhase.cpp.
| void ycl::BeginWildBattlePhase::Init | ( | ) |
Definition at line 29 of file BeginWildBattlePhase.cpp.
|
private |
Definition at line 224 of file BeginWildBattlePhase.cpp.
|
private |
Definition at line 211 of file BeginWildBattlePhase.cpp.
|
protected |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 45 of file BeginWildBattlePhase.hpp.
|
staticprotected |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 42 of file BeginWildBattlePhase.hpp.
|
staticprotected |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 41 of file BeginWildBattlePhase.hpp.
|
staticprivate |
Definition at line 54 of file BeginWildBattlePhase.hpp.
|
staticprivate |
Definition at line 53 of file BeginWildBattlePhase.hpp.
|
protected |
Reimplemented from ycl::BeginBattlePhase.
Definition at line 44 of file BeginWildBattlePhase.hpp.
|
private |
Definition at line 51 of file BeginWildBattlePhase.hpp.