YAPOG  0.0.1
Yet Another Pokemon Online Game
yse::World Class Reference

#include <World.hpp>

Inheritance diagram for yse::World:
Collaboration diagram for yse::World:

List of all members.

Public Member Functions

 World ()
virtual ~World ()
void LoadMap (const yap::ID &id)
 TMP.
void LoadMaps ()
MapGetMap (const yap::ID &worldID)
IPacketHandler members.
virtual bool HandlePacket (yap::IPacket &packet)
virtual bool SendPacket (yap::IPacket &packet)
virtual void AddRelay (yap::IPacketHandler *relay)
virtual void RemoveRelay (yap::IPacketHandler *relay)
virtual void SetParent (yap::IPacketHandler *parent)
- Public Member Functions inherited from yap::World
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 ()
- Public Member Functions inherited from yap::IPacketHandler
virtual ~IPacketHandler ()

Private Member Functions

 DISALLOW_COPY (World)
void AddMap (Map *map)
void RemoveMap (const yap::ID &worldID)
virtual void HandleUpdate (const yap::Time &dt)

Private Attributes

yap::collection::Map< yap::ID,
Map * > 
maps_
yap::PacketHandler packetHandler_

Detailed Description

Definition at line 15 of file World.hpp.


Constructor & Destructor Documentation

yse::World::World ( )

Reimplemented from yap::World.

Definition at line 8 of file World.cpp.

yse::World::~World ( )
virtual

Reimplemented from yap::World.

Definition at line 15 of file World.cpp.


Member Function Documentation

void yse::World::AddMap ( Map map)
private

Definition at line 81 of file World.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yse::World::AddRelay ( yap::IPacketHandler relay)
virtual

Implements yap::IPacketHandler.

Definition at line 66 of file World.cpp.

Here is the call graph for this function:

yse::World::DISALLOW_COPY ( World  )
private
Map & yse::World::GetMap ( const yap::ID worldID)

Definition at line 95 of file World.cpp.

Here is the caller graph for this function:

bool yse::World::HandlePacket ( yap::IPacket packet)
virtual

Implements yap::IPacketHandler.

Definition at line 50 of file World.cpp.

Here is the call graph for this function:

void yse::World::HandleUpdate ( const yap::Time dt)
privatevirtual

Reimplemented from yap::World.

Definition at line 100 of file World.cpp.

void yse::World::LoadMap ( const yap::ID id)

TMP.

Definition at line 20 of file World.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yse::World::LoadMaps ( )
 \xrefitem todo 20.

TMP

Definition at line 30 of file World.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void yse::World::RemoveMap ( const yap::ID worldID)
private

Definition at line 88 of file World.cpp.

Here is the call graph for this function:

void yse::World::RemoveRelay ( yap::IPacketHandler relay)
virtual

Implements yap::IPacketHandler.

Definition at line 71 of file World.cpp.

Here is the call graph for this function:

bool yse::World::SendPacket ( yap::IPacket packet)
virtual

Implements yap::IPacketHandler.

Definition at line 55 of file World.cpp.

Here is the caller graph for this function:

void yse::World::SetParent ( yap::IPacketHandler parent)
virtual

Implements yap::IPacketHandler.

Definition at line 76 of file World.cpp.

Here is the call graph for this function:


Member Data Documentation

yap::collection::Map<yap::ID, Map*> yse::World::maps_
private

Definition at line 49 of file World.hpp.

yap::PacketHandler yse::World::packetHandler_
private

Definition at line 51 of file World.hpp.


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