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