summaryrefslogtreecommitdiff
path: root/engine/enemy.h
blob: 7396b55caf4ad8bd5bcf4ccea589cd53daba636f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef ENEMY_H
#define ENEMY_H

#include "vector.h"
#include "texture.h"
#include "bulletpattern.h"

#include <vector>

class Enemy {
	protected:
		Vector2 pos;
		Texture* texture;
		std::vector<BulletPattern*> patterns;
	
	public:
		Enemy(const Vector2& initpos);
		
		void update();
		
		void draw();
};

#endif