Advanceable

public protocol Advanceable

Conforming types support advancing their state by a time interval.

  • Advance the state of the receiver by the given time interval in seconds.

    Declaration

    Swift

    mutating func advance(_ elapsed: Double)

    Parameters

    elapsed

    The length of time that the animation should be advanced by.