Skip to content
Permalink
Browse files
Create character.h
  • Loading branch information
gillettr committed Mar 11, 2019
1 parent 3e231f9 commit 38af5212389c41da6ba9af7a3b3ec132ca406cd5
Showing 1 changed file with 26 additions and 0 deletions.
@@ -0,0 +1,26 @@
//Character.h
#ifndef Character_h
#define Character_h

#include "Monster.h"
#include "main.h"

#include <iostream>
using namespace std;

class Character
{
public:
string name;
short health;
short damage;
short arrows;

Character(string newName);

void attack(Monster& target);

void rangedAttack(Monster& target);

};
#endif

0 comments on commit 38af521

Please sign in to comment.