mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
Minor changes to disassembler/separator sprites
This commit is contained in:
parent
d741485d35
commit
5a79960ce0
Binary file not shown.
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 573 B |
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 315 B |
@ -1063,7 +1063,7 @@ public class Blocks{
|
|||||||
consumePower(1.1f);
|
consumePower(1.1f);
|
||||||
consumeLiquid(Liquids.slag, 4f / 60f);
|
consumeLiquid(Liquids.slag, 4f / 60f);
|
||||||
|
|
||||||
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(), new DrawRegion("-spinner", 3), new DrawDefault());
|
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(), new DrawRegion("-spinner", 3, true), new DrawDefault());
|
||||||
}};
|
}};
|
||||||
|
|
||||||
disassembler = new Separator("disassembler"){{
|
disassembler = new Separator("disassembler"){{
|
||||||
@ -1083,7 +1083,7 @@ public class Blocks{
|
|||||||
consumeItem(Items.scrap);
|
consumeItem(Items.scrap);
|
||||||
consumeLiquid(Liquids.slag, 0.12f);
|
consumeLiquid(Liquids.slag, 0.12f);
|
||||||
|
|
||||||
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(), new DrawRegion("-spinner", 3), new DrawDefault());
|
drawer = new DrawMulti(new DrawRegion("-bottom"), new DrawLiquidTile(), new DrawRegion("-spinner", 3, true), new DrawDefault());
|
||||||
}};
|
}};
|
||||||
|
|
||||||
sporePress = new GenericCrafter("spore-press"){{
|
sporePress = new GenericCrafter("spore-press"){{
|
||||||
|
@ -26,6 +26,12 @@ public class DrawRegion extends DrawBlock{
|
|||||||
this.rotateSpeed = rotateSpeed;
|
this.rotateSpeed = rotateSpeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DrawRegion(String suffix, float rotateSpeed, boolean spinSprite){
|
||||||
|
this.suffix = suffix;
|
||||||
|
this.spinSprite = spinSprite;
|
||||||
|
this.rotateSpeed = rotateSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
public DrawRegion(){
|
public DrawRegion(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user