Fixed failing action engine tests, moved more engine parts to ts
This commit is contained in:
9
app/imports/api/engine/action/functions/InputProvider.ts
Normal file
9
app/imports/api/engine/action/functions/InputProvider.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { EngineAction } from '/imports/api/engine/action/EngineActions';
|
||||
|
||||
type InputProvider = {
|
||||
rollDice(
|
||||
action: EngineAction, dice: { number: number, diceSize: number }[]
|
||||
): Promise<number[][]>;
|
||||
}
|
||||
|
||||
export default InputProvider;
|
||||
Reference in New Issue
Block a user