MapZone Struct Reference

#include <mapcomposite.hpp>

List of all members.


Detailed Description

Part of the map.

Definition at line 46 of file mapcomposite.hpp.

Public Member Functions

 MapZone ()
void insert (Object *)
void remove (Object *)

Public Attributes

unsigned short nbCharacters
unsigned short nbMovingObjects
std::vector< Object * > objects
 Objects present in this zone.
MapRegion destinations
 Destinations of the objects that left this zone.


Constructor & Destructor Documentation

MapZone::MapZone  )  [inline]
 

Definition at line 63 of file mapcomposite.hpp.


Member Function Documentation

void MapZone::insert Object  ) 
 

Definition at line 46 of file mapcomposite.cpp.

void MapZone::remove Object  ) 
 

Definition at line 90 of file mapcomposite.cpp.


Member Data Documentation

MapRegion MapZone::destinations
 

Destinations of the objects that left this zone.

This is necessary in order to have an accurate iterator around moving objects.

Definition at line 61 of file mapcomposite.hpp.

unsigned short MapZone::nbCharacters
 

Definition at line 48 of file mapcomposite.hpp.

unsigned short MapZone::nbMovingObjects
 

Definition at line 48 of file mapcomposite.hpp.

std::vector< Object * > MapZone::objects
 

Objects present in this zone.

Characters are stored first, then the remaining MovingObjects, then the remaining Objects.

Definition at line 54 of file mapcomposite.hpp.


The documentation for this struct was generated from the following files:
Generated on Fri Mar 30 15:39:18 2007 for TMW Server by  doxygen 1.3.9.1