movePileTop
movePileTop(
world,from,to,count?):EntityId[]
Defined in: src/modules/pile/pile.ts:161
Move the top count entities of from onto to, keeping their order — a
draw, or a run of cards moved as one. Moves fewer when from holds fewer.
Returns the moved entities, bottom first.
Parameters
Section titled “Parameters”count?
Section titled “count?”number = 1
Returns
Section titled “Returns”EntityId[]