1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/src/js/game/modes/puzzle_edit.js

23 lines
561 B
JavaScript
Raw Normal View History

/* typehints:start */
import { GameRoot } from "../root";
/* typehints:end */
import { MetaConstantProducerBuilding } from "../buildings/constant_producer";
import { enumGameModeIds } from "../game_mode";
import { PuzzleGameMode } from "./puzzle";
export class PuzzleEditGameMode extends PuzzleGameMode {
static getId() {
return enumGameModeIds.puzzleEdit;
}
/** @param {GameRoot} root */
constructor(root) {
super(root);
this.setBuildings({
[MetaConstantProducerBuilding.name]: true,
});
}
}