Skip to content

CtxTurn

Defined in: core/define.ts:70

Turn bookkeeping visible to game code (ADR 0008).

readonly number: number

Defined in: core/define.ts:41

1-based count of turns in this phase.

TurnInfo.number


readonly order: readonly number[]

Defined in: core/define.ts:42

TurnInfo.order


readonly seat: number | null

Defined in: core/define.ts:39

The seat whose turn it is, or null when no seat is eligible.

TurnInfo.seat

next(): void

Defined in: core/define.ts:72

Advances to the next eligible seat in order.

void


set(seat): void

Defined in: core/define.ts:74

Jumps to seat. Throws if the seat is not in the order.

number

void