瀏覽代碼

Export DiceResult, remove dice-counting interfaces

tags/v0.1.3
bertieb 3 年之前
父節點
當前提交
8c3d35fd3c
共有 1 個檔案被更改,包括 1 行新增9 行删除
  1. +1
    -9
      asphodice.ts

+ 1
- 9
asphodice.ts 查看文件

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

interface DiceResult {
export interface DiceResult {
total: number;
dice: 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()`
*/


Loading…
取消
儲存