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

#include <PokemonType.hpp>

Collaboration diagram for yap::PokemonType:

List of all members.

Public Member Functions

 PokemonType ()
 PokemonType (const ID &type1, const ID &type2)
const TypeInfoGetType1 () const
 Getters.
const TypeInfoGetType2 () const
void SetType1 (const ID &typeID)
 Setters.
void SetType2 (const ID &typeID)

Private Attributes

TypeInfotype1_
TypeInfotype2_

Static Private Attributes

static const ID DEFAULT_TYPE_ID

Detailed Description

Definition at line 9 of file PokemonType.hpp.


Constructor & Destructor Documentation

yap::PokemonType::PokemonType ( )

Definition at line 9 of file PokemonType.cpp.

Here is the call graph for this function:

yap::PokemonType::PokemonType ( const ID type1,
const ID type2 
)

Definition at line 15 of file PokemonType.cpp.

Here is the call graph for this function:


Member Function Documentation

const TypeInfo & yap::PokemonType::GetType1 ( ) const

Getters.

Definition at line 22 of file PokemonType.cpp.

Here is the caller graph for this function:

const TypeInfo & yap::PokemonType::GetType2 ( ) const

Definition at line 27 of file PokemonType.cpp.

Here is the caller graph for this function:

void yap::PokemonType::SetType1 ( const ID typeID)

Setters.

Definition at line 33 of file PokemonType.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::PokemonType::SetType2 ( const ID typeID)

Definition at line 39 of file PokemonType.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

const ID yap::PokemonType::DEFAULT_TYPE_ID
staticprivate

Definition at line 27 of file PokemonType.hpp.

TypeInfo* yap::PokemonType::type1_
private

Definition at line 24 of file PokemonType.hpp.

TypeInfo* yap::PokemonType::type2_
private

Definition at line 25 of file PokemonType.hpp.


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