UNPKG

@planarally/dice

Version:

3D dice rolling functionality for babylon.js.

19 lines (18 loc) 500 B
import type { DiceThrower, DieOptions } from "../../3d"; import { type DiceSystem } from "../../core/types"; import { type DxSegment, type RollOptions } from "./types"; export declare enum Dice { D4 = "d4", D6 = "d6", D8 = "d8", D10 = "d10", D12 = "d12", D20 = "d20", D100 = "d100" } interface RollOptions3d extends RollOptions { thrower: DiceThrower; dieDefaults?: Partial<DieOptions>; } export declare const DX3: DiceSystem<DxSegment, RollOptions3d>; export {};