mischief-ecs
Safe HaskellNone
LanguageGHC2024

Mischief.ECS.Systems

Description

Module with utility functions for creating and scheduling systems.

Documentation

add :: (HasCallStack, Schedule sc, SystemConfig s) => sc -> s -> System () Source #

remove :: (Schedule sc, Collectable a [System ()]) => sc -> a -> System () Source #

removeOne :: Schedule sc => sc -> System () -> System () Source #

get :: Schedule sc => sc -> System () -> System Entity Source #

schedule :: Schedule sc => sc -> System () -> System () Source #

unschedule :: Schedule sc => sc -> System () -> System () Source #