diff options
Diffstat (limited to 'src/explosion.h')
-rw-r--r-- | src/explosion.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/explosion.h b/src/explosion.h new file mode 100644 index 0000000..972c0c8 --- /dev/null +++ b/src/explosion.h @@ -0,0 +1,19 @@ +#pragma once + +#include "gameobject.h" + +class Explosion : public GameObject { + + float time; + +public: + + Explosion(float pos_x, float pos_y, float size_x, float size_y); + virtual ~Explosion(); + + void update() override; + void draw() override; + + bool collidable() override; + +};
\ No newline at end of file |