|
/*
* Bullet.h
*
* Created on: 12-Oct-2009
* Author: matthew
*/
#include <allegro.h>
#include <vector>
#include "Character.h"
#include "Enemy.h"
using namespace std;
#ifndef BULLET_H_
#define BULLET_H_
class Enemy;
class Bullet: public Object
{
private:
int level;
bool dead;
public:
Bullet(int, int, int, int);
virtual ~Bullet();
void move(vector<Object> &, vector<Enemy> &, Character *character);
bool getDead();
static vector<BITMAP *> bsprite;
BITMAP *getSprite();
};
#endif /* BULLET_H_ */
|
|