Package-level declarations

Types

Link copied to clipboard

Ties one EventSchema subtype to everything mosaic-client needs to execute it — the unit passed in MosaicDependencyInjectionConfig.eventDefinitions to register a custom event, and the shape every built-in event's own XEventDefinition object follows. MosaicModules uses eventSchemaClass to build the framework's MosaicSerializer registration, eventRunner to build the EventRunnerManager lookup table, and eventHolderBuilder to build the EventHolderBuilderManager lookup table — one Definition feeds all three, so registering a custom event is exactly this one object, nothing more.

Link copied to clipboard

Registers a custom EventTrigger subtype's class with the framework's MosaicSerializer — the unit passed in MosaicDependencyInjectionConfig.eventTriggerDefinition. Unlike TileDefinition/ EventDefinition, there's no renderer/runner/holder-builder to also register here — a trigger has no behavior of its own, it's only ever compared for equality (see the mosaic skill's event-chaining mechanism), so serialization registration is all a custom trigger type needs.

Link copied to clipboard

Ties one TileSchema subtype to everything mosaic-client needs to render and hold it — the unit passed in MosaicDependencyInjectionConfig.tileDefinitions to register a custom tile, and the shape every built-in tile's own XTileDefinition object follows. MosaicModules uses tileSchemaClass to build the framework's MosaicSerializer registration, tileRenderer to build the TileRendererManager lookup table, and tileHolderBuilder to build the TileHolderBuilderManager lookup table — one Definition feeds all three, so registering a custom tile is exactly this one object, nothing more.