YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::PokemonMoveSet Class Reference

#include <PokemonMoveSet.hpp>

Collaboration diagram for yap::PokemonMoveSet:

List of all members.

Public Member Functions

 PokemonMoveSet ()
 PokemonMoveSet (const PokemonMoveSet &copy)
 ~PokemonMoveSet ()
const collection::Array
< PokemonMove * > & 
GetMoves () const
 Getters.
const UInt8 GetMoveNumber () const
const PokemonMoveGetMove (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

Detailed Description

Definition at line 13 of file PokemonMoveSet.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

void yap::PokemonMoveSet::AddMove ( PokemonMove move,
const UInt8 index 
)

Definition at line 50 of file PokemonMoveSet.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool yap::PokemonMoveSet::AddMove ( const ID moveID)

Definition at line 68 of file PokemonMoveSet.cpp.

yap::PokemonMoveSet::DISALLOW_ASSIGN ( PokemonMoveSet  )
private
const PokemonMove * yap::PokemonMoveSet::GetMove ( const UInt8 index) const

Definition at line 47 of file PokemonMoveSet.cpp.

Here is the caller graph for this function:

const UInt8 yap::PokemonMoveSet::GetMoveNumber ( ) const

Definition at line 43 of file PokemonMoveSet.cpp.

Here is the caller graph for this function:

const collection::Array< PokemonMove * > & yap::PokemonMoveSet::GetMoves ( ) const

Getters.

Definition at line 40 of file PokemonMoveSet.cpp.

Here is the caller graph for this function:

void yap::PokemonMoveSet::ReplaceMove ( const ID moveID,
UInt8  index 
)

Definition at line 82 of file PokemonMoveSet.cpp.

Here is the caller graph for this function:

void yap::PokemonMoveSet::ReplaceMove ( PokemonMove move,
UInt8  index 
)

Definition at line 90 of file PokemonMoveSet.cpp.


Member Data Documentation

const UInt8 yap::PokemonMoveSet::DEFAULT_MOVE_NUMBER = 0
staticprivate

Definition at line 36 of file PokemonMoveSet.hpp.

UInt8 yap::PokemonMoveSet::moveNumber_
private

Definition at line 34 of file PokemonMoveSet.hpp.

collection::Array<PokemonMove*> yap::PokemonMoveSet::moveSet_
private

Definition at line 33 of file PokemonMoveSet.hpp.


The documentation for this class was generated from the following files: