Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _GOAT_H_
- #define _GOAT_H_
- #include"Creature.h"
- #include"World.h"
- #include"RandomNum.h"
- class Goat:public Creature{
- public:
- //constructor
- Goat(World & Fate,RandomNum & Random);
- //destructor
- ~Goat();
- void move(int X,int Y);
- void act() ;
- void breed(int X,int Y);
- CreatureType CreatureIs() const;
- private:
- int foodPoints;
- };
- #endif
Add Comment
Please, Sign In to add comment