adding cs142 code
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef __CLERIC_H__
|
||||
#define __CLERIC_H__
|
||||
|
||||
#include "fighter.h"
|
||||
|
||||
class cleric : public fighter {
|
||||
private:
|
||||
int original_speed;
|
||||
int mana;
|
||||
public:
|
||||
cleric(string, int, int, int, int);
|
||||
|
||||
string get_type() { return "A"; };
|
||||
|
||||
int getDamage();
|
||||
void reset();
|
||||
bool useAbility();
|
||||
void regenerate();
|
||||
|
||||
int get_original_speed();
|
||||
int get_mana();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user