UNPKG

@planarally/dice

Version:

3D dice rolling functionality for babylon.js.

6 lines (5 loc) 410 B
import { type DiceSystem, Status } from "../../core/types"; import { type DieSegment, type DxSegment, type RollOptions, type WithDxStatus } from "./types"; export * from "./types"; export declare function roll(part: WithDxStatus<DxSegment, Status.PendingRoll>, rollOptions: RollOptions): Promise<WithDxStatus<DieSegment, Status.PendingEvaluation>>; export declare const DX: DiceSystem<DxSegment, RollOptions>;