ExpressibleAsTiledColor

public protocol ExpressibleAsTiledColor

Ensures a Tiled “color” can be converted into an Engine specific property value

  • Creates an instance of the implementating type from supplied Color

    Declaration

    Swift

    static func instance(bridging color: Color) -> Self

    Parameters

    from

    The value of the tiled property