roll.RollController Class
Constructor
roll.RollController
(
-
view
-
resultView
-
clientModel
Parameters:
-
view
roll.View -
resultView
roll.ResultView -
clientModel
models.ClientModel
Item Index
Methods
Methods
closeResult
()
This is called from the roll result view. It should close the roll result view and allow the game to continue.
Returns:
void
rollDice
()
This method generates a dice roll
Returns:
void