API Docs for:
Show:

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

()

Methods

closeModal

()

makes the overlay invisible

Returns:

void

setAmount

(
  • amount
)

sets the amount to display after a roll.

Parameters:

  • amount Int

    the amount to display

Returns:

void

setController

(
  • controller
)

sets the Controller for the view

Parameters:

Returns:

void

showModal

()

makes the overlay visible

Returns:

void