Apply suggestions from code review
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
d4bc999c54
commit
7c44d747de
4 changed files with 14 additions and 45 deletions
|
@ -23,6 +23,6 @@ export const isGameStateEvent =
|
|||
startLayerName: tg.isUnion(tg.isString, tg.isNull)
|
||||
}).get();
|
||||
/**
|
||||
* A message sent from the game to the iFrame when the gameState is got by the script
|
||||
* A message sent from the game to the iFrame when the gameState is received by the script
|
||||
*/
|
||||
export type GameStateEvent = tg.GuardedType<typeof isGameStateEvent>;
|
||||
export type GameStateEvent = tg.GuardedType<typeof isGameStateEvent>;
|
||||
|
|
|
@ -11,7 +11,7 @@ export const isHasPlayerMovedEvent =
|
|||
}).get();
|
||||
|
||||
/**
|
||||
* A message sent from the game to the iFrame when the player move after the iFrame send a message to the game that it want to listen to the position of the player
|
||||
* A message sent from the game to the iFrame to notify a movement from the current player.
|
||||
*/
|
||||
export type HasPlayerMovedEvent = tg.GuardedType<typeof isHasPlayerMovedEvent>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue