UNPKG

the-world-engine

Version:

three.js based, unity like game engine for browser

4 lines (3 loc) 197 B
import type { Component } from "./Component"; import type { GameObject } from "./GameObject"; export type ComponentConstructor<T extends Component = Component> = new (gameObject: GameObject) => T;