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.world = world;
|
2022-06-20 00:59:51 +00:00
|
|
|
this.status = status;
|
|
|
|
}
|
|
|
|
reset() {
|
2022-06-23 05:44:57 +00:00
|
|
|
game = new Game(16, null, false);
|
2022-06-20 00:18:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-23 05:44:57 +00:00
|
|
|
export var game = new Game(16, null, false)
|