TempoDelegate

public protocol TempoDelegate: class

This protocol defines methods that are called on delegate objects which listen for update beats from a Tempo object.

  • Sends an update beat that should prompt motion classes to recalculate movement values.

    Declaration

    Swift

    func tempoBeatUpdate(_ timestamp: TimeInterval)

    Parameters

    timestamp

    A timestamp by which motion classes can calculate new delta values.