MapPostProcessor

public protocol MapPostProcessor : Producer

A specialized form of a PostProcessor that applies to Maps. It is called after all Layers and Objects have been made and processed

  • Enables you to post process a map, even creating a different instance of the specialized map for the engine. As it is called after all other contents have been specialized you can apply changes to everything within your specialized map

    Declaration

    Swift

    func process(engineMap: EngineType.MapType, for map: Map, from project: Project) throws -> EngineType.MapType

    Parameters

    specializedMap

    The output of the factory, or previous post processor

    map

    The original Tiled map

    project

    The project the map was loaded from