school/cs142/lab10/archer.h

22 lines
359 B
C
Raw Permalink Normal View History

2016-04-06 20:45:34 -07:00
#ifndef __ARCHER_H__
#define __ARCHER_H__
#include "fighter.h"
class archer : public fighter {
private:
int original_speed;
public:
archer(string, int, int, int, int);
string get_type() { return "A"; };
int getDamage();
void reset();
bool useAbility();
int get_original_speed();
};
#endif