mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 22:12:16 -08:00
Fracker + SolidPump spinner lighting
This commit is contained in:
parent
1db5a9f3c2
commit
c7ff20d47d
3 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ public class Fracker extends SolidPump{
|
|||
|
||||
Drawf.liquid(liquidRegion, x, y, liquids.get(result) / liquidCapacity, result.color);
|
||||
|
||||
Draw.rect(rotatorRegion, x, y, pumpTime);
|
||||
Drawf.spinSprite(rotatorRegion, x, y, pumpTime);
|
||||
Draw.rect(topRegion, x, y);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public class SolidPump extends Pump{
|
|||
public void draw(){
|
||||
Draw.rect(region, x, y);
|
||||
Drawf.liquid(liquidRegion, x, y, liquids.total() / liquidCapacity, liquids.current().color);
|
||||
Draw.rect(rotatorRegion, x, y, pumpTime * rotateSpeed);
|
||||
Drawf.spinSprite(rotatorRegion, x, y, pumpTime * rotateSpeed);
|
||||
Draw.rect(topRegion, x, y);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ kapt.include.compile.classpath=false
|
|||
kotlin.stdlib.default.dependency=false
|
||||
#needed for android compilation
|
||||
android.useAndroidX=true
|
||||
archash=e52908cb23da2dead7ac049a1f395bacda64007c
|
||||
archash=cc2e0588e1a87c732d0d155fe24932ae43d641bf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue