Exemplo n.º 1
0
 public MarkersTest()
 {
     //Arrange
     controller = new MarkersController(new InMemoryMarkersAgent());
     //must set explicitly for tests to work
     controller.ObjectValidator = new InMemoryModelValidator();
 }
Exemplo n.º 2
0
 private void Start()
 {
     difficulty = PlayerPrefs.GetInt("difficulty");
     Debug.Log("Dificultad: " + difficulty.ToString());
     markersController = GameObject.Find("Game Manager").GetComponent <MarkersController>();
     gameManager       = GameObject.Find("Game Manager").GetComponent <GameManager>();
     voiceController   = GameObject.Find("Game Manager").GetComponent <Cambio>();
     tts = GameObject.Find("Game Manager").GetComponent <MicrosoftTTS>();
 }
Exemplo n.º 3
0
 public MarkersControllerTests()
 {
     _repo       = Substitute.For <IMarkerRepositoryAsync>();
     _controller = new MarkersController(_repo);
 }
Exemplo n.º 4
0
 public void Awake()
 {
     orderGenerator    = GetComponent <OnlineOrderGenerator>();
     voiceController   = GetComponent <OnlineVoiceController>();
     markersController = GetComponent <MarkersController>();
 }