BridgablePropertyProcessor
public struct BridgablePropertyProcessor<TargetType> : TiledKit.MapPostProcessor, TiledKit.LayerPostProcessor, TiledKit.ObjectPostProcessor where TargetType : EngineObject
Undocumented
-
Declaration
Swift
public typealias EngineType = TargetType.EngineType -
Undocumented
Declaration
Swift
public init<TBP, C>(applies properties: C, to tiledTypes: TiledType, with typeName: String? = nil) where TargetType == TBP.EngineObjectType, TBP : BridgableProperty, TBP == C.Element, C : Sequence -
Declaration
Swift
public func process(engineMap: TargetType.EngineType.MapType, for map: Map, from project: Project) throws -> TargetType.EngineType.MapType -
Declaration
Swift
public func process(objectLayer: EngineType.ObjectLayerType, from layer: LayerProtocol, for map: Map, in project: Project) throws -> EngineType.ObjectLayerType -
Declaration
Swift
public func process(tileLayer: EngineType.TileLayerType, from layer: LayerProtocol, for map: Map, in project: Project) throws -> EngineType.TileLayerType -
Declaration
Swift
public func process(tileInstance: TargetType.EngineType.SpriteType, from tile: Tile, and tileset: TileSet, in layer: LayerProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.SpriteType -
Declaration
Swift
public func process(imageLayer: EngineType.SpriteType, from layer: LayerProtocol, for map: Map, in project: Project) throws -> EngineType.SpriteType -
Declaration
Swift
public func process(groupLayer: EngineType.GroupLayerType, from layer: LayerProtocol, for map: Map, in project: Project) throws -> EngineType.GroupLayerType -
Declaration
Swift
public func process(point: TargetType.EngineType.PointObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.PointObjectType -
Declaration
Swift
public func process(rectangle: TargetType.EngineType.RectangleObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.RectangleObjectType -
Declaration
Swift
public func process(ellipse: TargetType.EngineType.EllipseObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.EllipseObjectType -
Declaration
Swift
public func process(sprite: TargetType.EngineType.SpriteType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.SpriteType -
Declaration
Swift
public func process(text: TargetType.EngineType.TextObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.TextObjectType -
Declaration
Swift
public func process(polyline: TargetType.EngineType.PolylineObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.PolylineObjectType -
Declaration
Swift
public func process(polygon: TargetType.EngineType.PolygonObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> TargetType.EngineType.PolygonObjectType
View on GitHub
BridgablePropertyProcessor Structure Reference