Skip to content

@vaguevoid/fiasco / ecs/systems / System

Type Alias: System

System = void | number

Defined in: src/ecs/systems.ts:15

Used as the return type for any system function. Signifies that the system should run every frame.

This is the default for systems and is optional to specify.

ts
import { System } from '@vaguevoid/fiasco'

function system(): System {
  console.log("I run every frame")
}