Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PLAYER_H
- #define PLAYER_H
- #include <iostream>
- #include <string>
- #include "Player.h"
- using namespace std;
- class Player
- {
- private:
- string _name;
- int _health;
- int _strengh;
- int _agility;
- string _mf;
- int _race;
- int _xCoord;
- int _yCoord;
- int _win;
- int _tryX;
- int _tryY;
- public:
- Player();
- Player(string name, int health, int strengh, int agility, string mf, int race, int xCoord, int yCoord, int win, int tryX, int tryY);
- void set_name(string playerName);
- void set_sex(string playerSex);
- void set_race(int playerRace);
- void set_tryX(int tryX);
- void set_tryY(int tryY);
- void set_xCoord(int coord);
- void set_yCoord(int coord);
- void returnRace();
- string returnSex();
- string returnName();
- int returnHealth();;
- void returnStat(int stat);
- int returnCoord(int coord);
- int returnTry(int coord);
- int returnWin();
- void addStat(int stat, int amount);
- void subtractStat(int stat, int amount);
- void createStats();
- void IsDead();
- ~Player();
- };
- #endif // PLAYER_H
Advertisement
Add Comment
Please, Sign In to add comment