Skip to content

Event Handler

PlatanoGames edited this page Aug 8, 2026 · 3 revisions

Event Handler System

The event-handler subsystem resolves a Gameplay Tag to a handler class derived from the Core handler base.

Lifecycle modes

  • Ephemeral: create for one execution.
  • Cached: reuse an instance while it remains cached.
  • Singleton: maintain one shared instance for the configured scope.

Handlers can be registered and inspected through Core contracts. They are a behavior-dispatch mechanism, distinct from broadcasting a typed message to multiple listeners.

Use handlers when a tag selects an implementation. Use messages when a publisher announces data to optional receivers.

Clone this wiki locally