type World

bendvy-ecs-core@0.1.0.3 · world.bend:34

import bendvy-ecs-core@0.1.0.3/world.bend as World
import Base
import bendvy-ecs-core@0.1.0.3/clock_state.bend as Clock
import bendvy-ecs-core@0.1.0.3/execution_lifecycle_notices.bend as Notice
import bendvy-ecs-core@0.1.0.3/deferred_command.bend as Deferred
import entity_allocator.bend as A

34# Affine engine storage/resource owner with allocator and administrative state.
35# Raw field construction/destructuring is trusted framework provisioning, not the
36# opaque gameplay interface. Schema branding alone does not validate forged fields.
37type World<Schema: Data,Store: Type,Resource: Type,Event: Data> is Type:
38  World{namespace: U32,allocator: A.Allocator,store: Store,resource: Resource,events: List<&2,Event>,pending:List<Deferred.Command<World<Schema,Store,Resource,Event>>>,registrations: List<&2,RegistrationMeta>,nextSystemId: U32,clock: Clock.State,lifecycle:Notice.Journal<Schema>}

Uses (7)

Used by (360)