Advertisement
JangoBingoBango

Monster.h

Apr 22nd, 2020
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #pragma
  2. #include <string>
  3. #include "player.h"
  4.  
  5. namespace std
  6. {
  7.     class Monster
  8.     {
  9.         string  name;
  10.         int     health;
  11.         int     attack;
  12.         bool    dead;
  13.  
  14.     public: void Attack(Player player) {};
  15.  
  16.     public: void TakeDamage(int amount) {};
  17.  
  18.     public: void Death() {};
  19.  
  20.     };
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement