return undefined factory to show stop
This commit is contained in:
parent
a0e63d4972
commit
8593af41ed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue