Army::Troop & Army::Troop::operator= (const Troop & t) { BattleQuit(); id = t.id; count = t.count; if(!army && t.army) army = t.army; if(battle) BattleQuit(); return *this; }
Army::Troop::~Troop() { BattleQuit(); }
Army::Troop::~Troop() { if(battle) BattleQuit(); }