Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

TrafficSim Class Reference

#include <trafficsim.h>

Inheritance diagram for TrafficSim:

Simulator Persistence List of all members.

Public Member Functions

 TrafficSim (SDL_mutex *mutex, BuildingLayer *pblayer, Map *pmap, PathFinder *pf, MovementManager *mm)
int Main ()

Private Member Functions

void trafficsimNewVehicle (const uint &w, const uint &h)

Private Attributes

PathFinderppf
MovementManagerpmm

Detailed Description

This class generates an artificial traffic in the game. The traffic level of each unit (square) depends on the structures' level around it

Definition at line 41 of file trafficsim.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 11 10:21:11 2006 for OpenCity by  doxygen 1.4.2