void Human::Analyze() { this->setState(Analyzing); RandomG mind; this->power=mind.RandomNumber(); }
void Animal::Eat() { RandomG food; this->weight += food.RandomNumber(); this->setState(Eating); }
void Animal::SearchingForFood(){ RandomG food; this->power -= food.RandomNumber(); this->setState(SearchingForFood); }
void Animal::Sleep() { RandomG food; this->energy += food.RandomNumber(); this->setState(Sleeping); }