@game-vir/entity - v15.1.1
    Preparing search index...

    Type Alias DefineLogicEntity<Context>

    DefineLogicEntity: <
        const EntityKey extends string,
        const Shape extends ShapeDefinition<AnyObject, any> | undefined,
        const Events extends ReadonlyArray<Constructor<Event>> = never,
    >(
        params: DefineEntityParams<EntityKey, Shape, Events>,
    ) => DefinedLogicEntityConstructor<
        EntityKey,
        Context,
        Shape,
        InstanceType<ArrayElement<NoInfer<Events>>>
        | EntityDestroyEvent,
    >

    Type Parameters

    • Context

    Type declaration