-
Notifications
You must be signed in to change notification settings - Fork 0
/
werewolf.h
35 lines (30 loc) · 1.26 KB
/
werewolf.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
#ifndef WEREWOLF_H
#define WEREWOLF_H
#include "enemy.h"
class Werewolf final : public Enemy {
// protected:
// int HP; inherited from Character
// int Atk; inherited from Character
// int Def; inherited from Character
// Type type; inherited from Stuff
// bool alreadyMoved = false; inherited from Enemy
// bool hasCompass = false; inherited from Enemy
// bool hostile = false; inherited from Enemy
public:
Werewolf(): Enemy{120, 30, 5} {}
char getChar() const override; // inherited from Stuff
// int getHP() { return HP; } inherited from Character
// int getAtk() { return Atk; } inherited from Character
// int getDef() { return Def; } inherited from Character
// bool isDead() { return (HP <= 0); } inherited from Character
// void setHP(int hp) { HP = hp; } inherited from Character
// void setAtk(int atk) { Atk = atk; } inherited from Character
// void setDef(int def) { Def = def; } inherited from Character
// void becomeHostile(); inherited from Enemy
// void beAttacked(std::shared_ptr<Stuff> c) override; inherited from Enemy
// void assignCompass(); inherited from Enemy
// bool checkCompass() const; inherited from Enemy
// bool getMoved() const; inherited from Enemy
// virtual void toggleMoved(); inherited from Enemy
};
#endif