#include "Team.h" // TODO: Implement mutator functions - // SetTeamName(), SetTeamWins(), SetTeamLosses() void Team::SetTeamName(std::string name) { teamName = name; } void Team::SetTeamWins(int wins) { teamWins = wins; } void Team::SetTeamLosses(int losses) { teamLosses = losses;} // TODO: Implement accessor functions - // GetTeamName(), GetTeamWins(), GetTeamLosses() std::string Team::GetTeamName() { return teamName; } int Team::GetTeamWins() { return teamWins; } int Team::GetTeamLosses() { return teamLosses; } // TODO: Implement GetWinPercentage() double Team::GetWinPercentage() { return (double)teamWins / (teamWins + teamLosses); }