Dice

interface IDiceConfig {
    allowPlayerRollUpdates?: boolean;
    allowPlayerMoveDice?: boolean;
    drawOutlines?: boolean;
    defaultClickBehavior?: ClickBehavior;
    limit: number;
    size: number;
    throw: IDiceThrow;
}

Properties

allowPlayerRollUpdates?: boolean

Allow players to update rolls that are not owned by them Useful in games such as Tunnels & Trolls

allowPlayerMoveDice?: boolean

Allow players to move dice around the table Useful in games such as Tunnels & Trolls

drawOutlines?: boolean

Draw Dice Outlines Default: true

defaultClickBehavior?: ClickBehavior

Default Click Behavior

limit: number

Max number of dice on a table

size: number
throw: IDiceThrow

Generated using TypeDoc