예제 #1
0
 private void UpdateBreadcrumb()
 {
     //Checks to see if the PDA has a registered name, if it does make that the Desktop name
     if (controller.PDA.RegisteredPlayerName != null)
     {
         string editedString = controller.PDA.RegisteredPlayerName.Replace(" ", "_");
         controller.SetBreadcrumb($"/home/{editedString}/Desktop");
     }
     else
     {
         controller.SetBreadcrumb("/home/Guest/Desktop");
     }
 }
예제 #2
0
 public void OnPageActivated()
 {
     controller.SetBreadcrumb("/bin/manifest.sh");
     GenerateEntries();
 }
예제 #3
0
        private bool clickedRecently;         // a simple variable to make sure the PDA asks the player to confirm the reset

        public void OnPageActivated()
        {
            controller.SetBreadcrumb("/bin/settings.sh");
        }
예제 #4
0
 public void OnPageActivated()
 {
     controller.SetBreadcrumb("/bin/notes.sh");
     controller.PlayDenyTone();
 }
예제 #5
0
 public void OnPageActivated()
 {
     mainController.SetBreadcrumb(ROOT_DIRECTORY);
     UpdateTCCounter();
     OpenSubPage(categoryPage);
 }