Advertisement
Guest User

Untitled

a guest
Oct 11th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #ifndef CREATURE_H
  2. #define CREATURE_H
  3.  
  4. #include <string>
  5. #include <iostream>
  6.  
  7. using namespace std;
  8.  
  9. class creature
  10.  
  11. {
  12. private:
  13. int strength;
  14. int hitpoints;
  15. public:
  16. creature();
  17. creature(int inStrength, int inHitpoints);
  18. int getDamage()const;
  19. int getStrength()const;
  20. int getHitpoints()const;
  21. void setStrength(int newStrength);
  22. void setHitpoints(int newHitpoints);
  23. string getSpecies()const;
  24. };
  25.  
  26. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement