13 lines
238 B
JavaScript
13 lines
238 B
JavaScript
class Game {
|
|
constructor(tileSize, gridSize, world, status) {
|
|
this.tileSize = tileSize;
|
|
this.world = world;
|
|
this.status = status;
|
|
}
|
|
reset() {
|
|
game = new Game(16, null, false);
|
|
}
|
|
}
|
|
|
|
export var game = new Game(16, null, false)
|