GameFunctions<E extends Event, T extends Game> class abstract

Implementers

Constructors

GameFunctions()

Properties

gameName GameName
no setter
gameType GameType
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(JsonMap json) → T
fromJsonE(JsonMap json) → E
initialState(GameConfig config, IList<Player> players) GameState<E, T>
next(covariant GameState<Event, Game> state, GameConfig config, covariant PlayerEvent<Event> event) NextState<E, T>
nextRound(covariant GameState<Event, Game> state, GameConfig config) GameState<E, T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited