three-game-engine
Version:
Simple light-weight game engine using three.js, three-mesh-ui and rapier
17 lines (16 loc) • 372 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Abstract base class for game object components.
*/
class Component {
constructor(gameObject, jsonData = {}) {
this.gameObject = gameObject;
this.jsonData = jsonData;
}
load() {
}
beforeRender({ deltaTimeInSec }) {
}
}
exports.default = Component;
;