You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
616 B
31 lines
616 B
/* typehints:start */
|
|
import { Entity } from "../entity";
|
|
/* typehints:end */
|
|
|
|
import { MetaBuilding } from "../meta_building";
|
|
|
|
export class MetaBlockBuilding extends MetaBuilding {
|
|
constructor() {
|
|
super("block");
|
|
}
|
|
|
|
getSilhouetteColor() {
|
|
return "#333";
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param {import("../../savegame/savegame_serializer").GameRoot} root
|
|
* @returns
|
|
*/
|
|
getIsRemovable(root) {
|
|
return root.gameMode.getIsEditor();
|
|
}
|
|
|
|
/**
|
|
* Creates the entity at the given location
|
|
* @param {Entity} entity
|
|
*/
|
|
setupEntityComponents(entity) {}
|
|
}
|