Browse Source

Export DiceResult, remove dice-counting interfaces

tags/v0.1.3
bertieb 3 years ago
parent
commit
8c3d35fd3c
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      asphodice.ts

+ 1
- 9
asphodice.ts View File

@@ -35,7 +35,7 @@ export enum Outcomes {
Other = "Something Else" Other = "Something Else"
} }


interface DiceResult {
export interface DiceResult {
total: number; total: number;
dice: Array<number>; dice: Array<number>;
olddice?: Array<number>; olddice?: Array<number>;
@@ -45,14 +45,6 @@ interface DiceResult {


} }


interface ItemCount {
item: string | number | Outcomes;
count: number;
}

declare let ItemCountSet: Array<ItemCount>;


/** /**
* Simple d10, implements `roll()` * Simple d10, implements `roll()`
*/ */


Loading…
Cancel
Save