Exemplo n.º 1
0
 public void ListAll()
 {
     textController.AppendMain("Your inventory contains: ");
     for (int i = 0; i < items.Count(); i++)
     {
         textController.AppendMain(items[i].objectName);
     }
 }
Exemplo n.º 2
0
 void WelcomePlayer()
 {
     if (playerName == "New Player")
     {
         output.AppendMain("The scene welcomes the new Detective... \nWhat name do you take?");
         output.SetGameState("New Player");
     }
     else
     {
         output.AppendMain("Welcome back to the case, Detective " + playerName + ".");
     }
 }
Exemplo n.º 3
0
 public void Win()
 {
     Debug.Log(photo);
     if (photo == true)
     {
         textController.AppendMain("WARNING: Opening the safe requires a conviction. Are you ready to solve the mystery? (yes/no)");
         textController.gameState = "End Confirmation";
     }
     else
     {
         textController.AppendMain("You can't do that.");
     }
 }
Exemplo n.º 4
0
 private void Response(int location, string input)
 {
     textController.AppendMain(dialogue[location, 1] + input);
 }