API Docs for:
Show:

roll.RollController Class

Constructor

roll.RollController

(
  • view
  • resultView
  • clientModel
)

Parameters:

Item Index

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