Strata - v1.4.10
    Preparing search index...

    Interface WorldConfig<T>

    Configuration options for creating a Strata ECS world.

    interface WorldConfig<T extends BaseEntity> {
        enableLogging?: boolean;
        initialEntities?: T[];
        maxEntities?: number;
    }

    Type Parameters

    Index

    Properties

    enableLogging?: boolean

    Whether to enable debug logging for entity lifecycle events.

    initialEntities?: T[]

    Optional array of entities to spawn immediately on creation.

    maxEntities?: number

    Maximum number of entities allowed in the world.