private void Intro() { ScreeensController.Clear(); ScreeensController.Write("You wake up in your house."); int input = intro.Run(); if (input == 1) { Bathroom(); } else { Kitchen(); } }
private void Bathroom() { ScreeensController.Clear(); ScreeensController.Write("You clean your teeth and go to the shower, but in doing so you are not running late for work!"); int input = travel.Run(); if (input == 1) { Walk(); } else { Cycle(); } }
private void EnterName() { ScreeensController.Clear(); var charName = enterName.Run(); int input = confirmName.Run(); if (input == 1) { GameController.character.Name = charName; EnterGender(); } else { EnterName(); } }
private void EnterGender() { ScreeensController.Clear(); var charGender = enterGender.Run(); int input = confirmGender.Run(); if (input == 1) { GameController.character.Gender = charGender; ScreeensController.Clear(); ScreeensController.Write("Saved"); ScreeensController.Write($"Name: { GameController.character.Name }"); ScreeensController.Write($"Gender: {GameController.character.Gender }"); GameController.CreateSaveFile(); Console.Read(); } else { EnterGender(); } }
private void Kitchen() { ScreeensController.Clear(); ScreeensController.Write("You make your way down to the kitchen to make some food."); int input = breakfast.Run(); if (input == 1) { ScreeensController.Write("You make a healthy breakfast and find yourself with plenty of food."); } else { ScreeensController.Write("You have a massive greasy breakfast that you spend too much time preparing. You are now late for work!"); } input = travel.Run(); if (input == 1) { Walk(); } else { Cycle(); } }
public MainMenu() { ScreeensController.Clear(); AddDecisions(); Run(); }
public NewGame() { ScreeensController.Clear(); }
private void Cycle() { ScreeensController.Clear(); ScreeensController.Write("You travel to work by bike."); Console.ReadLine(); }
private void Walk() { ScreeensController.Clear(); ScreeensController.Write("You travel to work by foot."); Console.ReadLine(); }