14 lines
271 B
JavaScript
14 lines
271 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, [16, 9], null, false);
|
|
}
|
|
}
|
|
|
|
export var game = new Game(16, [16, 9])
|