blob: e889b93d0ad5d55eb0a5ae2aa78553ee38b4ac25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
};
|