UNPKG

three-game-engine

Version:

Simple light-weight game engine using three.js, three-mesh-ui and rapier

15 lines (14 loc) 348 B
import GameObject from "./GameObject"; /** * Abstract base class for game object components. */ declare class Component { gameObject: GameObject; jsonData: any; constructor(gameObject: any, jsonData?: {}); load(): void; beforeRender({ deltaTimeInSec }: { deltaTimeInSec: any; }): void; } export default Component;