Rally X
ELEN3009 Project by Justin Wernick and David Schneider
|
GameObject that causes the EnemyCar to be delayed if they crash into it. More...
#include <Smokescreen.h>
Public Member Functions | |
Smokescreen (double x, double y) | |
Creates a Smokescreen at the given location. | |
Static Private Attributes | |
static const int | SMOKE_TIME = 60 |
The number of frames that the Smokescreen exists before it is destroyed. 2 second at FPS=30. |
GameObject that causes the EnemyCar to be delayed if they crash into it.
After a short time, the SmokeScreen dissipates.
Definition at line 15 of file Smokescreen.h.
Smokescreen::Smokescreen | ( | double | x, |
double | y | ||
) |
Creates a Smokescreen at the given location.
[in] | x | The x coordinate of the object's position. |
[in] | y | The y coordinate of the object's position. |
Definition at line 3 of file Smokescreen.cpp.
const int Smokescreen::SMOKE_TIME = 60 [static, private] |
The number of frames that the Smokescreen exists before it is destroyed. 2 second at FPS=30.
Definition at line 28 of file Smokescreen.h.