// Use this for initialization void Start() { enemySpawner.StartSpawn(); powerupSpawner.StartSpawn(); cloudSpawner.StartSpawn(); aircraft.StartShooting(); }
public void StartGame() { AircraftObject.InitialGameStarting = false; AircraftObject.IsPlaying = true; // initialize aircraft input AircraftObject.Init(); // background changing BackgroundController.IsChanging = true; //TODO: Background set to default at the beginning // aircraft shooting AircraftObject.StartShooting(); EnemySpawnerObject.StartSpawn(); PowerUpSpawnerObject.StartSpawn(); CloudSpawner.StartSpawn(); // let the game begins! IsPlaying = true; IsDecreaseWake = true; }