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

#include <DynamicWorldObjectCollection.hpp>

Inheritance diagram for yap::DynamicWorldObjectCollection:
Collaboration diagram for yap::DynamicWorldObjectCollection:

List of all members.

Public Member Functions

 DynamicWorldObjectCollection ()
 ~DynamicWorldObjectCollection ()
ItType begin ()
ConstItType begin () const
ItType end ()
ConstItType end () const
SizeType Count () const
void AddObject (DynamicWorldObject *object)
void RemoveObject (const ID &worldID)
DynamicWorldObjectGetObject (const ID &worldID)
IUpdateable members.
virtual void Update (const Time &dt)
 Makes the object evolve for one frame of the game.
- Public Member Functions inherited from yap::IUpdateable
virtual ~IUpdateable ()

Private Types

typedef collection::Map< ID,
DynamicWorldObject * > 
InnerCollectionType
typedef
InnerCollectionType::SizeType 
SizeType
typedef InnerCollectionType::ItType ItType
typedef
InnerCollectionType::ConstItType 
ConstItType

Private Member Functions

 DISALLOW_COPY (DynamicWorldObjectCollection)

Private Attributes

collection::Map< ID,
DynamicWorldObject * > 
objects_

Detailed Description

Definition at line 13 of file DynamicWorldObjectCollection.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

yap::DynamicWorldObjectCollection::DynamicWorldObjectCollection ( )

Definition at line 6 of file DynamicWorldObjectCollection.cpp.

yap::DynamicWorldObjectCollection::~DynamicWorldObjectCollection ( )

Definition at line 11 of file DynamicWorldObjectCollection.cpp.


Member Function Documentation

void yap::DynamicWorldObjectCollection::AddObject ( DynamicWorldObject object)

Definition at line 47 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

DynamicWorldObjectCollection::ItType yap::DynamicWorldObjectCollection::begin ( )

Definition at line 18 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

DynamicWorldObjectCollection::ConstItType yap::DynamicWorldObjectCollection::begin ( ) const

Definition at line 24 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

DynamicWorldObjectCollection::SizeType yap::DynamicWorldObjectCollection::Count ( ) const

Definition at line 42 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

yap::DynamicWorldObjectCollection::DISALLOW_COPY ( DynamicWorldObjectCollection  )
private
DynamicWorldObjectCollection::ItType yap::DynamicWorldObjectCollection::end ( )

Definition at line 30 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

DynamicWorldObjectCollection::ConstItType yap::DynamicWorldObjectCollection::end ( ) const

Definition at line 36 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

DynamicWorldObject & yap::DynamicWorldObjectCollection::GetObject ( const ID worldID)

Definition at line 57 of file DynamicWorldObjectCollection.cpp.

Here is the caller graph for this function:

void yap::DynamicWorldObjectCollection::RemoveObject ( const ID worldID)

Definition at line 52 of file DynamicWorldObjectCollection.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yap::DynamicWorldObjectCollection::Update ( const Time dt)
virtual

Makes the object evolve for one frame of the game.

Parameters:
dtDelta time since the last frame.

Implements yap::IUpdateable.

Definition at line 63 of file DynamicWorldObjectCollection.cpp.


Member Data Documentation

collection::Map<ID, DynamicWorldObject*> yap::DynamicWorldObjectCollection::objects_
private

Definition at line 45 of file DynamicWorldObjectCollection.hpp.


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