![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <PokemonMoveSet.hpp>
Public Member Functions | |
| PokemonMoveSet () | |
| PokemonMoveSet (const PokemonMoveSet ©) | |
| ~PokemonMoveSet () | |
| const collection::Array < PokemonMove * > & | GetMoves () const |
| Getters. | |
| const UInt8 | GetMoveNumber () const |
| const PokemonMove * | GetMove (const UInt8 &index) const |
| void | AddMove (PokemonMove *move, const UInt8 &index) |
| bool | AddMove (const ID &moveID) |
| void | ReplaceMove (const ID &moveID, UInt8 index) |
| void | ReplaceMove (PokemonMove *move, UInt8 index) |
Private Member Functions | |
| DISALLOW_ASSIGN (PokemonMoveSet) | |
Private Attributes | |
| collection::Array< PokemonMove * > | moveSet_ |
| UInt8 | moveNumber_ |
Static Private Attributes | |
| static const UInt8 | DEFAULT_MOVE_NUMBER = 0 |
Definition at line 13 of file PokemonMoveSet.hpp.
| yap::PokemonMoveSet::PokemonMoveSet | ( | ) |
Definition at line 12 of file PokemonMoveSet.cpp.
| yap::PokemonMoveSet::PokemonMoveSet | ( | const PokemonMoveSet & | copy | ) |
Definition at line 18 of file PokemonMoveSet.cpp.
| yap::PokemonMoveSet::~PokemonMoveSet | ( | ) |
Definition at line 29 of file PokemonMoveSet.cpp.
| void yap::PokemonMoveSet::AddMove | ( | PokemonMove * | move, |
| const UInt8 & | index | ||
| ) |
Definition at line 50 of file PokemonMoveSet.cpp.
| bool yap::PokemonMoveSet::AddMove | ( | const ID & | moveID | ) |
Definition at line 68 of file PokemonMoveSet.cpp.
|
private |
| const PokemonMove * yap::PokemonMoveSet::GetMove | ( | const UInt8 & | index | ) | const |
| const UInt8 yap::PokemonMoveSet::GetMoveNumber | ( | ) | const |
| const collection::Array< PokemonMove * > & yap::PokemonMoveSet::GetMoves | ( | ) | const |
Getters.
Definition at line 40 of file PokemonMoveSet.cpp.
| void yap::PokemonMoveSet::ReplaceMove | ( | PokemonMove * | move, |
| UInt8 | index | ||
| ) |
Definition at line 90 of file PokemonMoveSet.cpp.
|
staticprivate |
Definition at line 36 of file PokemonMoveSet.hpp.
|
private |
Definition at line 34 of file PokemonMoveSet.hpp.
|
private |
Definition at line 33 of file PokemonMoveSet.hpp.