SHARE
TWEET

RPG Battle 3 Player.h

zCool May 13th, 2012 8 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef PLAYER_H
  2. #define PLAYER_H
  3.  
  4. #include "Stats.h"
  5.  
  6. class Player
  7. {
  8. private:
  9.         Stats stats;
  10. public:
  11.         Player(int hp, int atk, int def, int skil);
  12.         void displayHP();
  13.         int getHit(int attackerATK, int victimDEF, int victimHP);
  14.         int healSelf(int hp, int skil);
  15.         Stats getStats();
  16.         void setStats(Stats s) { stats = s; }
  17.  
  18.  
  19. };
  20. #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top