2022-06-20 00:18:47 +00:00
|
|
|
class Game {
|
2022-06-20 00:59:51 +00:00
|
|
|
constructor(tileSize, gridSize, world, status) {
|
2022-06-20 00:18:47 +00:00
|
|
|
this.tileSize = tileSize;
|
|
|
|
this.gridSize = gridSize;
|
|
|
|
this.world = world;
|
2022-06-20 00:59:51 +00:00
|
|
|
this.status = status;
|
|
|
|
}
|
|
|
|
reset() {
|
|
|
|
game = new Game(24, [18, 18], null, false);
|
2022-06-20 00:18:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export var game = new Game(24, [18, 18])
|