summaryrefslogtreecommitdiff
path: root/engine/enemy.h
blob: ae8e599be677769ed437a5877d36cebbcd5c2ed7 (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 <wriggle/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