Initialize files from GitLab repository
This commit is contained in:
34
include/people/Opponent.h
Normal file
34
include/people/Opponent.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#ifndef OPPONENT_H
|
||||
#define OPPONENT_H
|
||||
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
|
||||
class Opponent
|
||||
{
|
||||
private:
|
||||
string name;
|
||||
int current_health;
|
||||
int max_health;
|
||||
int level;
|
||||
int base_damage;
|
||||
int max_damage;
|
||||
|
||||
public:
|
||||
Opponent();
|
||||
Opponent(string opponent_name, int opponent_level, int base, int max);
|
||||
|
||||
// SETTER FUNCTIONS
|
||||
void setOpponentHealth(int damage_taken); // Set current Health minus dmaage_taken
|
||||
|
||||
// GETTER FUNCTIONS
|
||||
string getOpponentName();
|
||||
int getOpponentHealth();
|
||||
int getOpponentMaxHealth();
|
||||
int getOpponentLevel();
|
||||
int getOpponentBaseDamage();
|
||||
int getOpponentMaxDamage();
|
||||
int getPotionAmount();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user