Package-level declarations

Types

Link copied to clipboard

An entity that has its own id and state but supports mixins.

Link copied to clipboard
class MixinManager<R : Any>(root: R)

Manages mixins for a root entity

Link copied to clipboard
interface MixinRepository<ID>

An interface that allows to mixin other interfaces to an entity. Each entity must have a root, but other interfaces can be mixed in to it.

Link copied to clipboard
interface Proxied

Functions

Link copied to clipboard
inline fun <E : MixinEnabledEntity<ID>, T, ID> MixinRepository<ID>.become(e: E, t: T): E
Link copied to clipboard
inline fun <E1 : MixinEnabledEntity<ID>, E2 : E1, ID> MixinRepository<ID>.findById(id: ID): E2?