Exemplo n.º 1
0
 public void Restart()
 {
     this.Status = Game_STATUS.Ready;
     pipelineManager.Init();
     player.Init();
     this.Score = 0;
 }
Exemplo 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;
    }
Exemplo n.º 3
0
 private void Player_death()
 {
     this.Status = Game_STATUS.GameOver;
     this.pipelineManager.Stop();
 }