Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

PluginSystems

Each phase’s systems by name, in the order written: a function, or one with more. The key is the name after the plugin’s, movement of characters.movement, which the profile and the welcome’s check name the system by, and its handle and a sibling’s anchor read: { tendWardens } names one for its function, and a build keeps a key where it renames the function. Each phase’s keys type its anchors, so a key another phase holds, or the system’s own, fails to typecheck.

Type Parameter Default type
Input AnyPhaseShape
Motion AnyPhaseShape
Rules AnyPhaseShape
Physics AnyPhaseShape
CommandKey extends string string
Property Type
input? PhaseSystems<"input", Input, CommandKey>
motion? PhaseSystems<"motion", Motion, CommandKey>
physics? PhaseSystems<"physics", Physics, CommandKey>
rules? PhaseSystems<"rules", Rules, CommandKey>