1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

New building sprites

This commit is contained in:
tobspr
2020-08-14 08:20:39 +02:00
parent f69af63aa3
commit c982827d60
32 changed files with 965 additions and 950 deletions

View File

@@ -20,7 +20,7 @@ export class MetaHubBuilding extends MetaBuilding {
return "#eb5555";
}
isRotateable() {
getIsRotateable() {
return false;
}

View File

@@ -23,7 +23,7 @@ export class MetaLeverBuilding extends MetaBuilding {
return true;
}
isRotateable() {
getIsRotateable() {
return false;
}

View File

@@ -57,6 +57,11 @@ export class MetaLogicGateBuilding extends MetaBuilding {
];
}
getRenderPins() {
// We already have it included
return false;
}
/**
*
* @param {Entity} entity

View File

@@ -20,7 +20,7 @@ export class MetaTrashBuilding extends MetaBuilding {
super("trash");
}
isRotateable(variant) {
getIsRotateable(variant) {
return variant !== defaultBuildingVariant;
}

View File

@@ -21,7 +21,7 @@ export class MetaWireTunnelBuilding extends MetaBuilding {
return true;
}
isRotateable() {
getIsRotateable() {
return false;
}