feat(#10): reset camera position after changing level

This commit is contained in:
Juan Sebastián Montoya 2024-09-14 23:51:24 -05:00
parent e2c439d1f3
commit abf334607e
6 changed files with 47 additions and 2 deletions

View file

@ -1,3 +1,5 @@
import { eventEmitter } from "../event-emitter.js";
export class GameObject {
constructor(options = {}) {
const {
@ -14,6 +16,7 @@ export class GameObject {
this.height = height;
this.gameObjects = gameObjects;
this.debug = debug;
this.eventEmitter = eventEmitter;
}
async load() {