misc.GameFinishedView Class
A view to display the results of the game; inherits from misc.BaseOverlay
Constructor
misc.GameFinishedView
()
Item Index
Methods
Methods
closeModal
()
makes the overlay invisible
Returns:
void
setController
(
-
controller
sets the Controller for the view
Parameters:
-
controller
misc.BaseController
Returns:
void
setWinner
(
-
name
-
isYou
Parameters:
-
name
Stringthe name of the winner
-
isYou
Booleanwhether the client player is the winner
showModal
()
makes the overlay visible
Returns:
void