mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
Fixed #2740
This commit is contained in:
parent
0f420b625a
commit
9edd029764
@ -206,5 +206,10 @@ public class DefaultWaves{
|
||||
//{mono, poly, mega, quad, oct}, //do not attack
|
||||
{flare, horizon, zenith, antumbra, eclipse}
|
||||
};
|
||||
|
||||
//required progression:
|
||||
//- main progression of units, up to wave ~20
|
||||
//- changes from
|
||||
//- extra periodic patterns
|
||||
}
|
||||
}
|
||||
|
@ -39,6 +39,13 @@ public class BurnerGenerator extends ItemLiquidGenerator{
|
||||
Draw.rect(turbineRegions[1], x, y, -totalTime * turbineSpeed);
|
||||
|
||||
Draw.rect(capRegion, x, y);
|
||||
|
||||
if(hasLiquids){
|
||||
Draw.color(liquids.current().color);
|
||||
Draw.alpha(liquids.currentAmount() / liquidCapacity);
|
||||
Draw.rect(liquidRegion, x, y);
|
||||
Draw.color();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user