-
Notifications
You must be signed in to change notification settings - Fork 0
/
TA.hpp
43 lines (36 loc) · 790 Bytes
/
TA.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
//
// TA.hpp
// Game Tester
//
// Created by Yinghan Ma on 11/22/17.
// Copyright © 2017 Yinghan Ma. All rights reserved.
#ifndef TA_hpp
#define TA_hpp
#include "Enemy.hpp"
#include "Player.hpp"
#include "Map.hpp"
#include <stdio.h>
#include <string>
using namespace std;
class TA: public Enemy {
private:
string name;
double health;
int attack;
int defense;
Player* player;
Map* map;
public:
TA();
TA(Player* p, Map* m);
int takeDamage(double playerAttack);
void normalBossAttack();
void weakBossAttack();
void strongBossAttack();
void retaliate();
void fight();
//when implementing Item class
//void dropItem();
//TA's will drop keys to the staircases; implement dropItem here
};
#endif /* TA.hpp */