![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <IBattleEntity.hpp>
Public Member Functions | |
| virtual | ~IBattleEntity () |
Getters. | |
| virtual const String & | GetName () const =0 |
| virtual const UInt16 & | GetLevel () const =0 |
| virtual const Gender & | GetGender () const =0 |
| virtual const UInt16 & | GetCurrentHP () const =0 |
| virtual const UInt16 & | GetMaxHP () const =0 |
| virtual float | GetHPPercentage () const =0 |
| virtual const collection::Array< PokemonMove * > & | GetMoves () const =0 |
| virtual const PokemonMove & | GetMove (int index) const =0 |
| virtual const PokemonStat & | GetStats () const =0 |
Setters. | |
| virtual void | TakeDamage (int value)=0 |
Events. | |
| virtual Event< const IBattleEntity &, const ChangeEventArgs< const HitPoint & > & > & | OnHPChangedEvent ()=0 |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
| virtual void | Update (const Time &dt)=0 |
| Makes the object evolve for one frame of the game. | |
Definition at line 18 of file IBattleEntity.hpp.
|
inlinevirtual |
Definition at line 20 of file IBattleEntity.hpp.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.
|
pure virtual |
Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.