Contents

TabletopInteraction.Delegate

A protocol for objects that manage the entire flow of players interacting with equipment.

Declaration

protocol Delegate

Overview

Implement the update(interaction:) method to take an appropriate action depending on the equipment and the phase of the interaction. For example, turn a card face up if a player flips it over or toss a die when a gesture ends.

Topics

Taking actions

Starting a toss

Accepting interactions

See Also

Performing actions