Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #ifndef _WORLD_H_
  2. #define _WORLD_H_
  3.  
  4. class Creature;
  5. class RandomNum;
  6.  
  7.  
  8. const int goatOrigin = 5;
  9. const int grassOrigin = 10;
  10. const int landX = 35;
  11. const int landY = 20;
  12.  
  13. class World{
  14.  
  15. public:
  16. World(int numPasses,RandomNum & Random);
  17. ~World();
  18.  
  19. void die(int x,int y);
  20. void mainLoop(int displayInterval);
  21. void print() const;
  22. void newTurn();
  23.  
  24. Creature* land[landY][landX];
  25.  
  26. private:
  27.  
  28. int NumPasses;
  29. };
  30.  
  31. #endif
Add Comment
Please, Sign In to add comment