Base Map class for both client and server.
More...
#include <Map.hpp>
List of all members.
Detailed Description
Base Map class for both client and server.
Definition at line 23 of file Map.hpp.
Constructor & Destructor Documentation
| yap::Map::Map |
( |
const ID & |
id | ) |
|
|
protected |
Member Function Documentation
| void yap::Map::AddUpdateable |
( |
IUpdateable * |
updateable | ) |
|
|
protected |
| Map * yap::Map::Clone |
( |
| ) |
const |
|
virtual |
| yap::Map::DISALLOW_COPY |
( |
Map |
| ) |
|
|
private |
| const uint & yap::Map::GetHeight |
( |
| ) |
const |
| const ID & yap::Map::GetID |
( |
| ) |
const |
| const String & yap::Map::GetName |
( |
| ) |
const |
| const Vector2 & yap::Map::GetSize |
( |
| ) |
const |
| const uint & yap::Map::GetWidth |
( |
| ) |
const |
| const ID & yap::Map::GetWorldID |
( |
| ) |
const |
| void yap::Map::HandleAddUpdateable |
( |
IUpdateable * |
updateable | ) |
|
|
protectedvirtual |
| void yap::Map::HandleRemoveObject |
( |
WorldObject * |
object | ) |
|
|
protectedvirtual |
| void yap::Map::HandleRemoveUpdateable |
( |
IUpdateable * |
updateable | ) |
|
|
protectedvirtual |
| void yap::Map::HandleSetSize |
( |
uint |
width, |
|
|
uint |
height |
|
) |
| |
|
protectedvirtual |
| void yap::Map::HandleUpdate |
( |
const Time & |
dt | ) |
|
|
protectedvirtual |
| void yap::Map::RemoveUpdateable |
( |
IUpdateable * |
updateable | ) |
|
|
protected |
| void yap::Map::SetID |
( |
const ID & |
id | ) |
|
| void yap::Map::SetName |
( |
const String & |
name | ) |
|
| void yap::Map::SetSize |
( |
uint |
width, |
|
|
uint |
height |
|
) |
| |
| void yap::Map::SetWorldID |
( |
const ID & |
worldID | ) |
|
| bool yap::Map::SupportsEvents |
( |
| ) |
const |
|
privatevirtual |
| void yap::Map::Update |
( |
const Time & |
dt | ) |
|
|
virtual |
Makes the object evolve for one frame of the game.
- Parameters:
-
| dt | Delta time since the last frame. |
- Todo:
- Move decomposition: dedicated classes.
Implements yap::IUpdateable.
Definition at line 119 of file Map.cpp.
| void yap::Map::UpdateEvents |
( |
const Time & |
dt | ) |
|
|
private |
| void yap::Map::UpdateSize |
( |
| ) |
|
|
private |
Member Data Documentation
| const float yap::Map::DEFAULT_CELL_SIZE = 32.0f |
|
staticprivate |
| const uint yap::Map::DEFAULT_HEIGHT = 0 |
|
staticprivate |
| const String yap::Map::DEFAULT_NAME = "<ANONYMOUS_MAP>" |
|
staticprivate |
| const uint yap::Map::DEFAULT_WIDTH = 0 |
|
staticprivate |
| const yap::String yap::Map::MOVED_UPDATE_EVENT_HANDLER_NAME = "MoveUpdateEvent" |
|
staticprivate |
The documentation for this class was generated from the following files:
- G:/YAPOG/YAPOG/YAPOG/include/YAPOG/Game/World/Map/Map.hpp
- G:/YAPOG/YAPOG/YAPOG/src/YAPOG/Game/World/Map/Map.cpp