Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ALL-Project-2-Text-Based-Game-Blackmail-/enemy.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (13 sloc)
341 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///enemy.h | |
#pragma once | |
#include "character.h" | |
class Enemy:public Character | |
///This class inherits from Character class in character.h | |
{ | |
std::string name; | |
public: | |
int ID; | |
int xp_given; | |
std::string loot_given; | |
Enemy(int _id, int _maxHP,int _currentHP,int _defense,int _strenght,int _loot,int _xp ); | |
}; |