draw( playerIndex: PlayerIndex, order: number, suitIndex?: -1 | 0 | 1 | 2 | 3 | 4 | 5, rank?: -1 | 1 | 2 | 3 | 4 | 5 | 7,): ActionDraw Parameters
- playerIndex: PlayerIndex
- order: number
- suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5 = -1
- rank: -1 | 1 | 2 | 3 | 4 | 5 | 7 = -1
Helper functions to build a
ActionDraw
with a compact syntax. For use in tests.