Esempio n. 1
0
 public void Restart()
 {
     this.Status = Game_STATUS.Ready;
     pipelineManager.Init();
     player.Init();
     this.Score = 0;
 }
Esempio n. 2
0
    public void StartGame()
    {
        //UpdateGame();
        //Debug.LogFormat("Start Game:{0}", this.status);
        this.Status = Game_STATUS.InGame;

        pipelineManager.StartRun();
        Debug.LogFormat("Start Game:{0}", this.Status);

        player.Fly();
        player.onSorce = onPlayerSorce;
    }
Esempio n. 3
0
 private void Player_death()
 {
     this.Status = Game_STATUS.GameOver;
     this.pipelineManager.Stop();
 }