-
Notifications
You must be signed in to change notification settings - Fork 0
/
Boss.hpp
50 lines (40 loc) · 854 Bytes
/
Boss.hpp
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
46
47
48
49
50
//
// Boss.hpp
// Game Tester
//
// Created by Yinghan Ma on 11/22/17.
// Copyright © 2017 Yinghan Ma. All rights reserved.
#ifndef Boss_hpp
#define Boss_hpp
#include "Enemy.hpp"
#include "Player.hpp"
#include "Map.hpp"
#include <stdio.h>
#include <string>
#include <stdlib.h>
#include <time.h>
#include <iostream>
using namespace std;
class Boss: public Enemy {
private:
string name;
double health;
double attack; //do to the players' GPA
int defense;
Player* player;
Map* map;
public:
//constructor
Boss();
Boss(Player* p, Map* m);
//function
int takeDamage(double playerAttack);
void normalAttack();
void weakAttack();
void strongAttack();
void retaliate();
void fight();
//when implementing Item class
//void dropItem();
};
#endif /* Boss_hpp */