public static void RiverCrossingMenu(Player player, Shop shop, List <Landmarks> listOfLandmarks) { Console.Clear(); Console.WriteLine("{0}", player.Landmark); headerWithDate(player); Console.WriteLine(""); Console.WriteLine("Weather: {0} ", player.weather); Console.WriteLine("River width: {0} ", player.riverWidth); Console.WriteLine("River depth: {0} ", player.riverDepth); Console.WriteLine(""); Console.WriteLine("You may:"); Console.WriteLine(""); Console.WriteLine("1. attempt to ford the river."); Console.WriteLine("2. caulk the wagon and float it accross"); if (listOfLandmarks[player.IndexForLandmarks].Ferry) { Console.WriteLine("3. take a ferry across"); Console.WriteLine("4. wait to see if condition improve"); Console.WriteLine("5. get more information"); } else { Console.WriteLine("3. wait to see if condition improve"); Console.WriteLine("4. get more information"); } Console.WriteLine(""); Console.WriteLine("What is your choice?"); InputDetection.DetectGameMenuInput(player, shop); if (player.gameMenuInput == "D1") { Ford(player, shop, listOfLandmarks); } if (player.gameMenuInput == "D2") { CaulkTheWagon(player, shop, listOfLandmarks); } if (player.gameMenuInput == "D3") { TakeFerry(player, shop, listOfLandmarks); } if (player.gameMenuInput == "D4") { WaitToSee(player); } if (player.gameMenuInput == "D5") { GetMoreInfo(player, shop, listOfLandmarks); } RiverCrossing(player, shop, listOfLandmarks); }
public static void PrintGameMenu(Player player, Shop shop, List <Landmarks> listOfLandmarks) { while (player.GameMenu) { Console.Clear(); //if(player.AtLandmark) //{ // PlaceAt(player); //} Console.WriteLine(" {0}", listOfLandmarks[player.IndexForLandmarks].Name); headerWithDate(player); StatusBar(player); Console.WriteLine("You may:"); Console.WriteLine(" 1. Continue on trail"); Console.WriteLine(" 2. Check supplies"); Console.WriteLine(" 3. Look at map"); Console.WriteLine(" 4. Change pace"); Console.WriteLine(" 5. Change food rations"); Console.WriteLine(" 6. Stop to rest"); Console.WriteLine(" 7. Attempt to trade"); Console.WriteLine(" 8. Talk to people"); if (listOfLandmarks[player.IndexForLandmarks].Shop) { Console.WriteLine(" 9. Buy supplies"); } Console.WriteLine(""); Console.WriteLine("What is your choice?"); InputDetection.DetectGameMenuInput(player, shop); if (player.gameMenuInput == "D1" && player.insidecycle == true) { break; } if (player.gameMenuInput == "D1") { if (player.Landmark == "Independence") { Cycle(player, shop, listOfLandmarks); } if (player.Landmark == "Kansas River crossing") { RiverCrossing(player, shop, listOfLandmarks); break; } if (player.Landmark == "Big Blue River crossing") { RiverCrossing(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort Kearney") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Chimney Rock") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort Laramie") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Indipendence Rock") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "South Pass") { Alternate1(player, shop, listOfLandmarks); Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Green River") { RiverCrossing(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort Bridger") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Soda Springs") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort Hall") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Snake River") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort Boise") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Blue Mountains") { Alternate2(player, shop, listOfLandmarks); Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Fort WALLA WALLA") { Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "The Dalles") { Alternate3(player, shop, listOfLandmarks); //Cycle(player, shop, listOfLandmarks); break; } if (player.Landmark == "Willamette Valley Oregon") { } } if (player.gameMenuInput == "D2") { CheckSupplies(player); } if (player.gameMenuInput == "D3") { Map(player); } if (player.gameMenuInput == "D4") { ChangePace(player); } if (player.gameMenuInput == "D5") { ChangeFoodRations(player); } if (player.gameMenuInput == "D6") { StopToRest(player); } if (player.gameMenuInput == "D7") { AttemptToTrade(player); } if (player.gameMenuInput == "D8") { TalkToPeople(player); } if (player.gameMenuInput == "D9") { BuySupplies(player, shop); } } }