Advertisement
JeffBobbo

Untitled

May 19th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. class AI
  2. {
  3. public:
  4.     AI(int nHP = 100, int nAttack = 9, nDefence = 9, nHeal = 5)
  5.     {
  6.         HP = nHP;
  7.         FullHP = HP;
  8.         attack = nAttack;
  9.         defence = nDefence;
  10.         heal = nHeal;
  11.     }
  12.     virtual ~AI() {}
  13.  
  14.     int HP
  15.     int FullHP
  16.     int attack;
  17.     int defence;
  18.     int heal;
  19. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement