mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-21 15:29:20 +00:00
Prettier
This commit is contained in:
parent
455ef08fef
commit
ad3d1ae389
@ -90,7 +90,7 @@ export class DisplaySystem extends GameSystemWithFilter {
|
|||||||
(origin.y + 0.5) * globalConfig.tileSize,
|
(origin.y + 0.5) * globalConfig.tileSize,
|
||||||
parameters,
|
parameters,
|
||||||
30
|
30
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
value.drawItemCenteredClipped(
|
value.drawItemCenteredClipped(
|
||||||
(origin.x + 0.5) * globalConfig.tileSize,
|
(origin.x + 0.5) * globalConfig.tileSize,
|
||||||
|
|||||||
@ -190,8 +190,8 @@ export class WiredPinsSystem extends GameSystemWithFilter {
|
|||||||
|
|
||||||
if (staticComp.getMetaBuilding().getRenderPins()) {
|
if (staticComp.getMetaBuilding().getRenderPins()) {
|
||||||
this.sprite = this.pinSprites[slot.type];
|
this.sprite = this.pinSprites[slot.type];
|
||||||
if (staticComp.getMetaBuilding().id == "display") {
|
if (staticComp.getMetaBuilding().id == "display") {
|
||||||
this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png")
|
this.sprite = Loader.getSprite("sprites/wires/display_logical_acceptor.png");
|
||||||
}
|
}
|
||||||
drawRotatedSprite({
|
drawRotatedSprite({
|
||||||
parameters,
|
parameters,
|
||||||
@ -202,7 +202,7 @@ export class WiredPinsSystem extends GameSystemWithFilter {
|
|||||||
size: globalConfig.tileSize + 2,
|
size: globalConfig.tileSize + 2,
|
||||||
offsetX: 0,
|
offsetX: 0,
|
||||||
offsetY: 0,
|
offsetY: 0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw contained item to visualize whats emitted
|
// Draw contained item to visualize whats emitted
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user