// operator overloading PBASFeature& PBASFeature::operator= (const PBASFeature& other) { if (this != &other) { copyOther(other); } return *this; }
PBASFeature::PBASFeature(const PBASFeature& other) { copyOther(other); }
GameState& GameState::operator= (const GameState &other) { if (this != &other) { copyOther(other); } return *this; }
GameState::GameState(const GameState& g) { this->numberOfRobots = g.numberOfRobots; this->hero = g.hero; copyOther(g); }