def advance_floor

bendvy-ecs-core@0.1.0.4 · restore_world.bend:15

import bendvy-ecs-core@0.1.0.4/restore_world.bend as RestoreWorld
import Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
import bendvy-ecs-core@0.1.0.4/entity_allocator.bend as Alloc

15def advance_floor(~S:Data,~C:Type,~R:Type,~E:Data,world:W.World<S,C,R,E>,floor:U32) -> W.World<S,C,R,E> & Bool:
16  match world:
17    case W.World{namespace,allocator,store,resource,events,pending,registrations,nextSystemId,clock}:progress_join(~S,~C,~R,~E,namespace,store,resource,events,pending,registrations,nextSystemId,clock,Alloc.advance_floor(allocator,floor))

Uses (6)

Used by (1)