SHARE
TWEET

Player.h

zCool May 17th, 2012 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef PLAYER_H
  2. #define PLAYER_H
  3. #include "Stats.h"
  4. #include "Character.h"
  5.  
  6. class Player:public Character
  7. {
  8. public:
  9.         Player(Stats stats);
  10.         void healSelf(int skill);
  11.         int fireBall(int skill);
  12.         void getHit(int attackerATK, int victimDEF, int victimHP);
  13.         int getAttackStat() { return m_stats.getAttack(); }
  14.         int getHealthStat() { return m_stats.getHealth(); }
  15.         int getDefenseStat() { return m_stats.getDefense(); }
  16.         int getSkillStat() { return m_stats.getSkill();}
  17. };
  18. #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