コード例 #1
0
 public void BTN_onLocationClick(int sceneNumber)
 {
     myMapCartographer.changeScene(sceneNumber);
     BTN_toggleMap();
     myAudioConductor.loadAndPlay(myAudioConductor.subwayCar);
     myVictoryCoach.checkQuestsCompleteAndQueueEvent(new EventSceneChange());
 }
コード例 #2
0
 private void BTN_timeStepLocationCheck()
 {
     testResultsText.text = "";
     allLocations         = mySceneCatalogue.locations;
     myMapCartographer.changeScene(rn.Next(allLocations.Count));
     testResultsText.text += "Current Location : " + mySceneCatalogue.getCurrentLocation().locationName + "\n";
     myEventQueue.queueEvent(new EventSceneChange());
 }