Rotatable

public protocol Rotatable

By conforming to this protocol you indicate, that a sprite model or sprite view supports rotation.

  • The rotation in radians.

    Declaration

    Swift

    var rotation: CGFloat { get set }