Ejemplo n.º 1
0
 // TODO: setup the basic game loop
 public void StartGame()
 {
     timer          = spawnTime;
     playerInstance = Instantiate(playerPrefab);
     playerInstance.Init(this, inGameScreen.speedUpButton, inGameScreen.slowDownButton);
     gameOn = true;
     inGameScreen.Show();
 }
Ejemplo n.º 2
0
 private void OnGameStarted()
 {
     _inGameScreen.Show();
 }