Car Class Reference

A class representing a car vehicle. More...

#include <Car.h>

Inheritance diagram for Car:

Inheritance graph
[legend]
Collaboration diagram for Car:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Car (double speed, double pos, bool DirPointsRight)
 Constructor.
virtual ~Car ()
 Default Destructor.

Static Private Attributes

static int m_index = 0


Detailed Description

A class representing a car vehicle.

Constructor & Destructor Documentation

Car::Car ( double  speed,
double  pos,
bool  DirPointsRight 
)

Constructor.

Parameters:
speed The car's speed
pos The car's position
DirPointsRight Whether or not the car is in the positive direction

Car::~Car (  )  [virtual]

Default Destructor.


Member Data Documentation

int Car::m_index = 0 [static, private]


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

Generated on Fri Jul 25 16:11:11 2008 for EvolveTraffic by  doxygen 1.5.6