Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _WORLD_H_
- #define _WORLD_H_
- class Creature;
- class RandomNum;
- const int goatOrigin = 5;
- const int grassOrigin = 10;
- const int landX = 35;
- const int landY = 20;
- class World{
- public:
- World(int numPasses,RandomNum & Random);
- ~World();
- void die(int x,int y);
- void mainLoop(int displayInterval);
- void print() const;
- void newTurn();
- Creature* land[landY][landX];
- private:
- int NumPasses;
- };
- #endif
Add Comment
Please, Sign In to add comment