public AiPlayer(MageType type) { if (mageType.Equals(MageType.FireMage)) { Fill.color = MaxFire; } else if (mageType.Equals(MageType.FrostMage)) { Fill.color = MaxFrost; } else if (mageType.Equals(MageType.ArcaneMage)) { Fill.color = MaxArcane; } }
public Player(MageType type) { if (mageType.Equals(MageType.FireMage)) { Fill.color = MaxFire; } else if (mageType.Equals(MageType.FrostMage)) { Fill.color = MaxFrost; } else if (mageType.Equals(MageType.ArcaneMage)) { Fill.color = MaxArcane; } UltReady = false; playerScore = 0f; mageType = type; }