def floor_checked

bendvy-ecs-core@0.1.0.3 · entity_allocator.bend:147

import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as EntityAllocator
import Base

147def floor_checked(allowed:Bool,+floor:U32,allocator:Allocator) -> Allocator & Bool:
148  match allowed:
149    case False{}:(allocator,False{})
150    case True{}:(floor_grow(18n,floor,allocator),True{})

Uses (6)

Used by (1)