roll.RollResultView Class
A view for displaying the result of a roll. It inherits from misc.BaseOverlay. It calls the "closeResult" method on its controller when the user clicks the "Okay" button.
Constructor
roll.RollResultView
()
Item Index
Methods
Methods
closeModal
()
makes the overlay invisible
Returns:
void
setAmount
(
-
amount
sets the amount to display after a roll.
Parameters:
-
amount
Intthe amount to display
Returns:
void
setController
(
-
controller
sets the Controller for the view
Parameters:
-
controller
misc.BaseController
Returns:
void
showModal
()
makes the overlay visible
Returns:
void