#ifndef RABBITH #define RABBITH #include "game.h" class rabbit { game *const g; unsigned x, y; static const char c = 'r'; //both a declaration and a definition rabbit(const rabbit& another); //deliberately undefined rabbit& operator=(const rabbit& another); //deliberately undefined public: rabbit(game *initial_g, unsigned initial_x, unsigned initial_y); ~rabbit(); bool move(); //A function that uses the x and y private data members of class rabbit. friend rabbit *game::get(unsigned x, unsigned y) const; }; #endif