API Docs for:
Show:

misc.GameFinishedView Class

A view to display the results of the game; inherits from misc.BaseOverlay

Constructor

misc.GameFinishedView

()

Methods

closeModal

()

makes the overlay invisible

Returns:

void

setController

(
  • controller
)

sets the Controller for the view

Parameters:

Returns:

void

setWinner

(
  • name
  • isYou
)

Parameters:

  • name String

    the name of the winner

  • isYou Boolean

    whether the client player is the winner

showModal

()

makes the overlay visible

Returns:

void