@planarally/dice
Version:
3D dice rolling functionality for babylon.js.
4 lines (3 loc) • 430 B
TypeScript
import { type DiceSystem, type Part, type RollResult, Status, type WithStatus } from "./types";
export declare function rollString<P extends Part, Q, DS extends DiceSystem<P, Q>>(inputString: string, diceSystem: DS, rollOptions?: Q): Promise<RollResult<P>>;
export declare function rollParts<P extends Part, Q, DS extends DiceSystem<P, Q>>(parts: WithStatus<P, Status>[], diceSystem: DS, rollOptions?: Q): Promise<RollResult<P>>;