def move

bendvy-ecs-core@0.1.0.3 · execution_machine_component.bend:35

import bendvy-ecs-core@0.1.0.3/execution_machine_component.bend as ExecutionMachineComponent
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/state.bend as State
import bendvy-ecs-core@0.1.0.3/component.bend as Component

35def move(~S:Data,~H:Type,~P:Type,~V:Data,~Move:Data,~equal:V -> V -> Bool,~endpoints:Move -> V & V,~update:V -> P -> P & V,get:H -> W.Handle<S> -> H & Component.Access<V>,modify:Modifier(~S,~H,~P,~V),scope:H,handle:W.Handle<S>,request:Move) -> H & State.Outcome<V,Unit>:
36  match handle:
37    case +handle:read_result(~S,~H,~P,~V,~Move,~equal,~endpoints,~update,modify,handle,request,get(scope,handle))

Uses (8)

Used by (1)