Katton Registries
abstract class KattonRegistries<T : Identifiable>(val id: Identifier, entries: MutableMap<Identifier, T> = mutableMapOf()) : Identifiable, MutableMap<Identifier, T>
Base class for Katton registries.
Provides a map-like interface for storing registered entries, allowing lookup by identifier. Each registry has its own unique identifier for debugging and logging purposes.
Parameters
T
The type of entries stored in this registry, must implement Identifiable
entries
The initial entries map, defaults to an empty mutable map