return undefined factory to show stop

This commit is contained in:
a 2023-03-22 17:03:47 -05:00
parent a0e63d4972
commit 8593af41ed
1 changed files with 1 additions and 1 deletions

View File

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