MapZone Struct Reference

Part of a map. More...

#include <mapcomposite.hpp>

List of all members.

Public Member Functions

void insert (Actor *)
void remove (Actor *)

Public Attributes

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


Detailed Description

Part of a map.

Definition at line 132 of file mapcomposite.hpp.


Member Data Documentation

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

Objects present in this zone.

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

Definition at line 140 of file mapcomposite.hpp.

Destinations of the objects that left this zone.

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

Definition at line 147 of file mapcomposite.hpp.

Referenced by MapComposite::getAroundBeingIterator(), and MapComposite::update().


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

Generated on Sun Apr 26 17:30:46 2009 for TMW Server Collection by  doxygen 1.5.5