GetLastHand() private method

private GetLastHand ( ) : Hand
return Hand
コード例 #1
0
ファイル: Deal.cs プロジェクト: vipmaa1/BelotGameEngine
        private void NextHand()
        {
            if (!_isPaused)
            {
                if (!_playingManager.AreCardsFinished)
                {
                    PlayerHasTurn(_playingManager.GetLastHand().Winner);
                }
                else
                {
                    AddLastTenPoints(_playingManager.GetLastHand().Winner);

                    CountDealPoints();

                    _playingManager.BelotFound -= new Belot.PlayingManager.BelotFoundHandler(AddBelotCombination);
                    _game.RaiseDealCompleted();
                }
            }
        }