12 lines
351 B
JavaScript
12 lines
351 B
JavaScript
import { Container } from "pixi.js";
|
|
|
|
export class Game {
|
|
constructor() {
|
|
this._difficulty = 1;
|
|
this.gameContainer = new Container(); // main container, to add the game to a node, add this container as a child
|
|
this.gameContainer.layout = true;
|
|
}
|
|
|
|
/* should reset the game to its initial position*/
|
|
reset() {}
|
|
}
|