ObjectPostProcessor

public protocol ObjectPostProcessor : Producer

A specialized form of a PostProcessor that applies to Tiles. It is called after the first factory has created the specialized sprite for the tile

  • Perform post processing on a point object

    Declaration

    Swift

    func process(point: EngineType.PointObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.PointObjectType

    Parameters

    point

    The point to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a rectangle object

    Declaration

    Swift

    func process(rectangle: EngineType.RectangleObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.RectangleObjectType

    Parameters

    rectangle

    The rectangle to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a ellipse object

    Declaration

    Swift

    func process(ellipse: EngineType.EllipseObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.EllipseObjectType

    Parameters

    ellipse

    The ellipse to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a sprite object created for a tile

    Declaration

    Swift

    func process(sprite: EngineType.SpriteType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.SpriteType

    Parameters

    sprite

    The sprite to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a text object

    Declaration

    Swift

    func process(text: EngineType.TextObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.TextObjectType

    Parameters

    text

    The text to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a polyline object

    Declaration

    Swift

    func process(polyline: EngineType.PolylineObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.PolylineObjectType

    Parameters

    polyline

    The polyline to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from

  • Perform post processing on a polygon object

    Declaration

    Swift

    func process(polygon: EngineType.PolygonObjectType, from object: ObjectProtocol, for map: Map, from project: Project) throws -> EngineType.PolygonObjectType

    Parameters

    polygon

    The polygon to be processed

    object

    The object it was created from

    map

    The map it is in

    project

    The project the map was loaded from