-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkeleton.h
45 lines (33 loc) · 1.2 KB
/
Skeleton.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#ifndef SKELETON
#define SKELETON
#include <iostream>
#include "World.h"
using std::endl;
using std::cout;
class Skeleton:public World
{
int currentHealth;
int maxHealth;
int attackMin;
int attackMax;
int experience;
virtual ~Skeleton();
public:
bool active;
ITEMS<char*, char*, int, int, int, int, int> lootItem;
Skeleton();
//************************************************************************************************************************
// Public setter function for player object
//************************************************************************************************************************
void takeDamage(const int &randAttack);
//************************************************************************************************************************
// Public getter function for player object
//************************************************************************************************************************
void enemyHealth();
int enemyAttack();
void displayLoot();
inline int distEXP() { return experience; }
static void destroySkeleton(Skeleton* instance);
};
#endif // ! SKELETON