Constructors
constructor
- new EndGameIntent<T>(name: string, reason: GameOverReason, metadata: T): EndGameIntent<T>
-
Type parameters
Parameters
-
name: string
-
reason: GameOverReason
-
metadata: T
Properties
Readonly metadata
metadata: T
Readonly name
name: string
Readonly reason
reason: GameOverReason
Represents an intent to end the current game, can be used with Hostable.registerEndGameIntent.