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

#include <WorldObjectStateFactory.hpp>

Collaboration diagram for yap::WorldObjectStateFactory:

List of all members.

Classes

class  WorldObjectStateInfo

Public Member Functions

void AddState (const String &state, const String &logicalState)
void AddJoin (const String &state, const String &join)
WorldObjectStateInfoGetState (const String &state)

Static Public Member Functions

static WorldObjectStateFactoryInstance ()

Private Member Functions

 DISALLOW_COPY (WorldObjectStateFactory)
 WorldObjectStateFactory ()
 ~WorldObjectStateFactory ()

Private Attributes

collection::Map< String,
WorldObjectStateInfo * > 
states_

Detailed Description

Definition at line 11 of file WorldObjectStateFactory.hpp.


Constructor & Destructor Documentation

yap::WorldObjectStateFactory::WorldObjectStateFactory ( )
private

Definition at line 5 of file WorldObjectStateFactory.cpp.

yap::WorldObjectStateFactory::~WorldObjectStateFactory ( )
private

Definition at line 10 of file WorldObjectStateFactory.cpp.


Member Function Documentation

void yap::WorldObjectStateFactory::AddJoin ( const String state,
const String join 
)

Definition at line 30 of file WorldObjectStateFactory.cpp.

void yap::WorldObjectStateFactory::AddState ( const String state,
const String logicalState 
)

Definition at line 23 of file WorldObjectStateFactory.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::WorldObjectStateFactory::DISALLOW_COPY ( WorldObjectStateFactory  )
private
WorldObjectStateFactory::WorldObjectStateInfo & yap::WorldObjectStateFactory::GetState ( const String state)

Definition at line 38 of file WorldObjectStateFactory.cpp.

Here is the caller graph for this function:

WorldObjectStateFactory & yap::WorldObjectStateFactory::Instance ( )
static

Definition at line 16 of file WorldObjectStateFactory.cpp.

Here is the caller graph for this function:


Member Data Documentation

collection::Map<String, WorldObjectStateInfo*> yap::WorldObjectStateFactory::states_
private

Definition at line 51 of file WorldObjectStateFactory.hpp.


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