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