Component types provided by the timer plugin. Included automatically via .withPlugin(createTimerPlugin()).
.withPlugin(createTimerPlugin())
const ecs = ECSpresso.create() .withPlugin(createTimerPlugin()) .withComponentTypes<{ velocity: { x: number; y: number }; player: true }>() .build(); Copy
const ecs = ECSpresso.create() .withPlugin(createTimerPlugin()) .withComponentTypes<{ velocity: { x: number; y: number }; player: true }>() .build();
Component types provided by the timer plugin. Included automatically via
.withPlugin(createTimerPlugin()).Example