CaseIterable

public extension CaseIterable where Self : BridgableProperty

Useful for enums that capture BridgableProperty to enable them to be quickly and easily applied

Available where Self : BridgableProperty

  • Bridges all cases with the supplied Tiled properties to the supplied EngineObject

    Declaration

    Swift

    static func apply(_ properties: Properties, to object: EngineObjectType)

    Parameters

    properties

    The tiled properties and values

    object

    The object in the specialized engine that should be updated