Guest User

Untitled

a guest
Jun 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. #ifndef _GOAT_H_
  2. #define _GOAT_H_
  3.  
  4. #include"Creature.h"
  5. #include"World.h"
  6. #include"RandomNum.h"
  7.  
  8. class Goat:public Creature{
  9.  
  10. public:
  11. //constructor
  12. Goat(World & Fate,RandomNum & Random);
  13. //destructor
  14. ~Goat();
  15.  
  16.  
  17. void move(int X,int Y);
  18. void act() ;
  19. void breed(int X,int Y);
  20. CreatureType CreatureIs() const;
  21.  
  22. private:
  23. int foodPoints;
  24. };
  25.  
  26. #endif
Add Comment
Please, Sign In to add comment