@hanabi-live/game
    Preparing search index...

    Function draw

    • Helper functions to build a ActionDraw with a compact syntax. For use in tests.

      Parameters

      • playerIndex: PlayerIndex
      • order: number
      • suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5 = -1
      • rank: -1 | 1 | 2 | 3 | 4 | 5 | 7 = -1

      Returns ActionDraw