#include <Car.h>
Public Member Functions | |
Car (double speed, double pos, bool DirPointsRight) | |
Constructor. | |
virtual | ~Car () |
Default Destructor. | |
Static Private Attributes | |
static int | m_index = 0 |
Car::Car | ( | double | speed, | |
double | pos, | |||
bool | DirPointsRight | |||
) |
Constructor.
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.
int Car::m_index = 0 [static, private] |