Exemple #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();
 }
Exemple #2
0
 private void OnGameStarted()
 {
     _inGameScreen.Show();
 }