MapLoaders.IPropertyHooks

Description: Defines an object that can be used to provide hooks to adjust tiles as they are built.

Fields

ResourceTileHooks: { [property: string]: MapLoaders.IHookFunction; };
Hooks to trigger when a resource tile with the specified property is used when loading a map. Passes in the created tile and the property value for the hook.

ResourceSheetHooks: { [property: string]: MapLoaders.IHookFunction; };
Hooks to trigger when a resource sheet with the specified property is used when loading a map. Passes in created tiles from the resource sheet and the property value for the hook.

LayerHooks: { [property: string]: MapLoaders.IHookFunction; };
Hooks to trigger when a layer with the specified property is used when loading a map. Passes in created tiles from the layer and the property value for the hook.

Examples

There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.