private void GetTactic() { int tacticNumber = new Random().Next(0, Enum.GetNames(typeof(Tactics)).Length); this.Tactic = (Tactics)tacticNumber; TeamInfo.Tactic(Name, Tactic); }