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

149 lines
2.2 KiB
TypeScript
Raw Normal View History

2022-11-18 01:33:12 +00:00
/* typehints:start */
import type { Entity } from "../entity";
/* typehints:end */
import { defaultBuildingVariant, MetaBuilding } from "../meta_building";
export class MetaBlockBuilding extends MetaBuilding {
constructor() {
super("block");
}
static getAllVariantCombinations(): any {
return [
{
internalId: 64,
variant: defaultBuildingVariant,
},
];
}
getSilhouetteColor(): any {
return "#333";
}
/**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @param {import("../../savegame/
*/
g /**
*
* @ /**
*
* @ /**
*
* @ /**
*
* @param { /**
*
* @ /**
*
* @ /**
*
* @ /**
*
* @param {import("../../savegame/
*/
g /**
*
* @ /**
*
* @ /**
*
* @ /**
*
* @param {} root
* @ /**
*
* @ /**
*
* @ /**
*
* @ /**
*
* @param {import("../../savegame/savegame_serializer").GameRoot} root
* @returns
*/
getIsRemovable(root: import("../../savegame/savegame_serializer").GameRoot): any {
return root.gameMode.getIsEditor();
}
/**
* Creates the entity at the given location
*/
setupEntityComponents(entity: Entity): any { }
}