feat(#10): reset camera position after changing level
This commit is contained in:
parent
e2c439d1f3
commit
abf334607e
6 changed files with 47 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue