![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <WildBattle.hpp>
Public Member Functions | |
| WildBattle (BattleInterface &battleInterface) | |
| virtual | ~WildBattle () |
Public Member Functions inherited from ycl::Battle | |
| Battle (BattleInterface &battleInterface) | |
| virtual | ~Battle () |
| virtual void | Draw (yap::IDrawingContext &context) |
| virtual bool | IsVisible () const |
| virtual void | Show (bool isVisible) |
| virtual void | ChangeColor (const sf::Color &color) |
| yap::ISprite & | GetBackground () const |
| Getters. | |
| yap::ISprite & | GetPlayerGround () const |
| yap::ISprite & | GetOpponentGround () const |
| yap::ISprite & | GetPlayerTrainerBack () const |
| const yap::Vector2 & | GetPlayerGroundPosition () const |
| const yap::Vector2 & | GetOpponentGroundPosition () const |
| const yap::Vector2 & | GetOpponentInfoPosition () const |
| const yap::Vector2 & | GetPokemonInfoPosition () const |
| IDrawableBattleEntity & | GetPlayerTeam () |
| Getters. | |
| IDrawableBattleEntity & | GetOpponent () |
| void | SetPlayerTeam (PokemonFighterTeam *playerTeam) |
| Setters. | |
| void | SetOpponent (IDrawableBattleEntity *opponent) |
Public Member Functions inherited from yap::Battle | |
| Battle () | |
| void | Init () |
| void | DisplayMoves () |
| void | DisplayTeam () |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
Protected Member Functions | |
| virtual void | HandleInit () |
| virtual void | HandleUpdate (const yap::Time &dt) |
| virtual void | HandleDraw (yap::IDrawingContext &context) |
| virtual void | HandleShow (bool isVisible) |
| virtual void | HandleChangeColor (const sf::Color &color) |
Protected Attributes | |
| bool | isVisible_ |
| sf::Color | color_ |
Protected Attributes inherited from ycl::Battle | |
| BattleInterface & | battleInterface_ |
Static Protected Attributes | |
| static const bool | DEFAULT_VISIBLE_STATE |
| static const sf::Color | DEFAULT_COLOR |
Static Protected Attributes inherited from ycl::Battle | |
Additional Inherited Members | |
Public Attributes inherited from ycl::Battle | |
| yap::Event< const Battle & > | OnBattleEnd |
Static Public Attributes inherited from ycl::Battle | |
| static const yap::Vector2 | DEFAULT_OPPONENT_GROUND_SPRITES_SCALE = yap::Vector2 (0.75f, 0.75f) |
Definition at line 13 of file WildBattle.hpp.
| ycl::WildBattle::WildBattle | ( | BattleInterface & | battleInterface | ) |
Definition at line 13 of file WildBattle.cpp.
|
virtual |
Definition at line 19 of file WildBattle.cpp.
|
protectedvirtual |
Reimplemented from ycl::Battle.
Definition at line 56 of file WildBattle.cpp.
|
protectedvirtual |
Reimplemented from ycl::Battle.
Definition at line 47 of file WildBattle.cpp.
|
protectedvirtual |
Reimplemented from ycl::Battle.
Definition at line 23 of file WildBattle.cpp.
|
protectedvirtual |
Reimplemented from ycl::Battle.
Definition at line 52 of file WildBattle.cpp.
|
protectedvirtual |
Reimplemented from ycl::Battle.
Definition at line 42 of file WildBattle.cpp.
|
protected |
Reimplemented from ycl::Battle.
Definition at line 31 of file WildBattle.hpp.
|
staticprotected |
Reimplemented from ycl::Battle.
Definition at line 28 of file WildBattle.hpp.
|
staticprotected |
Reimplemented from ycl::Battle.
Definition at line 27 of file WildBattle.hpp.
|
protected |
Reimplemented from ycl::Battle.
Definition at line 30 of file WildBattle.hpp.