Action factory

This commit is contained in:
a 2023-03-22 16:57:39 -05:00
parent 1bb173faa8
commit 1ac87d8c59
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ export const DefaultRandom:RandomSource = {
}
}
export interface ActionFactory {
next(game: Game): Action
}
// an action is in charge of the entire state transition
export interface Action {