Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1x 1x 1x 4x 4x 4x 4x 2x 2x 1x 1x | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EngineCore = void 0;
const engineLoop_1 = require("./engineLoop");
class EngineCore extends engineLoop_1.EngineLoop {
constructor(surfaceSettings, surfaceFactory, contextFactory, inputFactory, window) {
super(surfaceSettings, window);
this._contextFactory = contextFactory;
this._surfaceFactory = surfaceFactory;
this._input = inputFactory.create(this);
}
initializeChild(child) {
const surface = this._surfaceFactory.create(this._contextFactory);
child.initialize(surface, this._input);
}
destroyChild(child) {
child.destroy();
}
}
exports.EngineCore = EngineCore;
|