Action factory
This commit is contained in:
parent
1bb173faa8
commit
1ac87d8c59
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue