using System.Xml;

namespace TeslaConsole.RedPlanet;

public class RPTeam
{
	private string mKey;

	private string mName;

	private string mRunnerColor;

	private string mTeamColor;

	public string Key => mKey;

	public string Name => mName;

	public string RunnerColor => mRunnerColor;

	public string TeamColor => mTeamColor;

	internal RPTeam(XmlNode teamNode)
	{
		mKey = teamNode.Attributes["key"].InnerText;
		mName = teamNode.Attributes["name"].InnerText;
		mRunnerColor = teamNode.Attributes["runnerColor"].InnerText;
		mTeamColor = teamNode.Attributes["teamColor"].InnerText;
	}
}
