diff options
Diffstat (limited to 'src/enemy.h')
-rw-r--r-- | src/enemy.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/enemy.h b/src/enemy.h new file mode 100644 index 0000000..e889b93 --- /dev/null +++ b/src/enemy.h @@ -0,0 +1,18 @@ +#pragma once + +#include "movinggameobject.h" + +class Enemy : public MovingGameObject { + + float last_time_shot; + float final_pos; + +public: + + Enemy(float pos_x, float pos_y, float size_x, float size_y, float orientation, string texture, float speed); + virtual ~Enemy(); + + void update() override; + void draw() override; + +};
\ No newline at end of file |