When enabled, classes registered via pool.register are also
automatically registered as Tiled object factories, so that objects
placed in a Tiled map with a matching class or name will be
instantiated using the registered constructor.
Set to false to disable this behavior (e.g. for classes that should
only be used programmatically and not from Tiled maps).
Default
true
Example
// disable auto-registration for a specific class pool.autoRegisterTiled = false; pool.register("InternalHelper", HelperClass); pool.autoRegisterTiled = true; // re-enable for subsequent registrations
When enabled, classes registered via pool.register are also automatically registered as Tiled object factories, so that objects placed in a Tiled map with a matching class or name will be instantiated using the registered constructor. Set to
falseto disable this behavior (e.g. for classes that should only be used programmatically and not from Tiled maps).