#ifndef POSITION_H #define POSITION_H using namespace std; template class position: public virtual wabbit { public: position(const terminal& init_t, unsigned init_x, unsigned init_y, char init_c) : wabbit {init_t, init_x, init_y, init_c} { } int hungry() const {return HUNGRY;} int bitter() const {return BITTER;} }; using carnivore = position<100, 100>; //at the top of the food chain using herbivore = position<0, 0>; //at the bottom of the food chain using inert = position<0, 100>; //neither eats nor gets eaten #endif