private string chooseOption(string[] options, string playerManeuver) { string playerDirection = null; Maneuvers.Details details = Maneuvers.GetDetails(playerManeuver); if (details != null) { playerDirection = details.Direction; } return(chooseOption(getOptions(options, playerDirection))); }
private string getDirection(string maneuver) { Maneuvers.Details details = Maneuvers.All[maneuver]; return(details.Direction); }