#ifndef SMOKESCREEN_H #define SMOKESCREEN_H #include "../logic/LimitedTimeObject.h" #include "../presentation/BitmapStore.h" /** * @brief GameObject that causes the EnemyCar to be delayed if they crash into it. * * After a short time, the SmokeScreen dissipates. * * @author Justin Wernick * @author David Schneider */ class Smokescreen : public LimitedTimeObject { public: /** * @brief Creates a Smokescreen at the given location. * * @param [in] x The x coordinate of the object's position. * @param [in] y The y coordinate of the object's position. */ Smokescreen(double x, double y); //assignment and copy constructors have been left with the compiler generated versions private: static const int SMOKE_TIME = 60; ///< The number of frames that the Smokescreen exists before it is destroyed. 2 second at FPS=30. }; #endif // SMOKESCREEN_H