Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef Monster_H
#define Monster_H
using namespace std;
class Monster
{
public:
int lvl;
int atk;
int hp;
float def;
float expGiven;
int takeDamage(int damage);
array<int, 3> giveInfo();
float giveDef();
};
Monster createWolf();
Monster createOrc();
#endif