Contents

onTossStart(interaction:outcomes:)

Implement onTossStart(interaction:outcomes) to be notified that the toss has just started simulating and to receive the outcome of the simulation. If the provided outcome is set to the equipment via actions, the equipment will retain the final state of the simulation even after the simulation ended.

Declaration

func onTossStart(interaction: TabletopInteraction, outcomes: [TabletopInteraction.TossOutcome])

Parameters

  • interaction:

    The interaction corresponding to this toss.

  • outcomes:

    The outcomes of all the equipment tossed.