public static Opponent GetOpponent() { Vernita vernita = new Vernita("Vernita", 80, 2, 1, 5, GetWeaponOpponent(), 2, 5); Budd budd = new Budd("Budd", 60, 3, 1, 5, GetWeaponOpponent(), 2, 6); Elle elle = new Elle("Elle", 86, 4, 1, 5, GetWeaponOpponent(), 5, 9); Bill bill = new Bill("Bill", 90, 6, 1, 5, GetWeaponOpponent(), 7, 9); Oren oren = new Oren("O-Ren", 79, 5, 1, 5, GetWeaponOpponent(), 1, 5); Opponent[] opponents = { oren, vernita, budd, elle, bill }; Random rand = new Random(); int randNbr = rand.Next(opponents.Length); Opponent opponent = opponents[randNbr]; return(opponent); }