// Constructor Team::Team(const TeamInfo &teamInfo) { initialize(); setName(teamInfo.getName()); setColor(teamInfo.getColor()); }
void AbstractTeam::set(const TeamInfo &teamInfo) { setName(teamInfo.getName()); setColor(teamInfo.getColor()); }