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