mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
progress
This commit is contained in:
parent
71e8c088a6
commit
c6e4bf1fa4
@ -115,12 +115,19 @@ public class UnitType extends UnlockableContent{
|
||||
//region drawing
|
||||
|
||||
public void draw(Unitc unit){
|
||||
//TODO set Z for these things
|
||||
if(unit.isFlying()){
|
||||
Draw.z(Layer.darkness);
|
||||
drawShadow(unit);
|
||||
}
|
||||
|
||||
Draw.z(Mathf.lerp(Layer.groundUnit, Layer.flyingUnit, unit.elevation()));
|
||||
|
||||
if(unit instanceof Legsc){
|
||||
drawLegs((Legsc)unit);
|
||||
}
|
||||
|
||||
|
||||
drawShadow(unit);
|
||||
drawOcclusion(unit);
|
||||
|
||||
if(unit instanceof Legsc) drawLegs((Legsc)unit);
|
||||
drawEngine(unit);
|
||||
drawBody(unit);
|
||||
drawWeapons(unit);
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=3c3c7f6d70e98d51d96412763d3c3a0724ca6751
|
||||
archash=704ec7111c02545ef1ea7b73b72d815a7bc85147
|
||||
|
Loading…
Reference in New Issue
Block a user