Mazetar

test2

Apr 11th, 2011
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.97 KB | None | 0 0
  1.  Console.WriteLine("What would you like to do?");
  2.                 Console.WriteLine("(1) Go towards the gates");
  3.                 Console.WriteLine("(2) Turn around and walk back the way I came");
  4.                 Console.WriteLine("Please choose a nummber");
  5.                 intInput = TextControl.inputFromConsole();
  6.                 Console.WriteLine("you choose " + intInput);
  7.                 TextControl.Wait();
  8.                 Console.Clear();
  9.  
  10.                 switch (intInput)
  11.                 {
  12.                     case 1:
  13.                         Console.WriteLine("You start walking towards the gates");
  14.                         Console.WriteLine("As you walk towards the gate, one of the gaurds halts you");
  15.                         Console.WriteLine("Welcome to Barovia sir, may I ask what is your intent in the village?");
  16.                         input = TextControl.inputStringFromConsole();
  17.                         // TODO: Add Answear Dialog
  18.                         Console.WriteLine("Hmm I see, and for how loong do you plan on staying here?");
  19.                         input = TextControl.inputStringFromConsole();
  20.                         //TODO: Add Answears
  21.                         Console.WriteLine("Then I wish you a pleasant stay in Barovia sir");
  22.                         Hero.setHasBeenInTown(true);
  23.                         insideTown(); //Enteres Town
  24.                         break;
  25.  
  26.                     case 2:
  27.                         Console.WriteLine("You turn back towards the crossroads");
  28.                         Console.WriteLine("After walking for a while you finnaly spot the signpost");
  29.                         TextControl.Wait();
  30.                         Console.Clear();
  31.                         Crossroads.enteringCrossRoads();
  32.                         break;
  33.                     default:
  34.                         Console.WriteLine("You rethink your choices once again"); //TODO: Edit
  35.                         enteringTown();
  36.                         break;
Advertisement
Add Comment
Please, Sign In to add comment