Example #1
0
 private void Test9Orphans(Tile[] handTiles, IList <InTurnOperation> operations)
 {
     if (!gameSettings.Allow9OrphanDraw)
     {
         return;
     }
     if (!CurrentRoundStatus.FirstTurn)
     {
         return;
     }
     if (MahjongLogic.Test9KindsOfOrphans(handTiles, justDraw))
     {
         operations.Add(new InTurnOperation
         {
             Type = InTurnOperationType.RoundDraw
         });
     }
 }