YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::IBattleEntity Struct Reference

#include <IBattleEntity.hpp>

Inheritance diagram for yap::IBattleEntity:
Collaboration diagram for yap::IBattleEntity:

List of all members.

Public Member Functions

virtual ~IBattleEntity ()
Getters.
virtual const StringGetName () const =0
virtual const UInt16GetLevel () const =0
virtual const Gender & GetGender () const =0
virtual const UInt16GetCurrentHP () const =0
virtual const UInt16GetMaxHP () const =0
virtual float GetHPPercentage () const =0
virtual const
collection::Array< PokemonMove * > & 
GetMoves () const =0
virtual const PokemonMoveGetMove (int index) const =0
virtual const PokemonStatGetStats () 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.

Detailed Description

Definition at line 18 of file IBattleEntity.hpp.


Constructor & Destructor Documentation

virtual yap::IBattleEntity::~IBattleEntity ( )
inlinevirtual

Definition at line 20 of file IBattleEntity.hpp.


Member Function Documentation

virtual const UInt16& yap::IBattleEntity::GetCurrentHP ( ) const
pure virtual
virtual const Gender& yap::IBattleEntity::GetGender ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual float yap::IBattleEntity::GetHPPercentage ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual const UInt16& yap::IBattleEntity::GetLevel ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual const UInt16& yap::IBattleEntity::GetMaxHP ( ) const
pure virtual
virtual const PokemonMove& yap::IBattleEntity::GetMove ( int  index) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual const collection::Array<PokemonMove*>& yap::IBattleEntity::GetMoves ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual const String& yap::IBattleEntity::GetName ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual const PokemonStat& yap::IBattleEntity::GetStats ( ) const
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual Event< const IBattleEntity&, const ChangeEventArgs<const HitPoint&>&>& yap::IBattleEntity::OnHPChangedEvent ( )
pure virtual

Implemented in yap::PokemonFighter, and yap::PokemonFighterTeam.

Here is the caller graph for this function:

virtual void yap::IBattleEntity::TakeDamage ( int  value)
pure virtual

The documentation for this struct was generated from the following file: