Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CREATURE_H
- #define CREATURE_H
- #include <string>
- #include <iostream>
- using namespace std;
- class creature
- {
- private:
- int strength;
- int hitpoints;
- public:
- creature();
- creature(int inStrength, int inHitpoints);
- int getDamage()const;
- int getStrength()const;
- int getHitpoints()const;
- void setStrength(int newStrength);
- void setHitpoints(int newHitpoints);
- string getSpecies()const;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement