Fixed failing action engine tests, moved more engine parts to ts

This commit is contained in:
Thaum Rystra
2024-02-18 23:39:16 +02:00
parent c721374278
commit 55a6b16c31
15 changed files with 177 additions and 100 deletions

View 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;