Remove stray spaces from accelerator (#4465)
This commit is contained in:
committed by
GitHub
parent
868d4e05f7
commit
4d9dc66a96
@@ -48,7 +48,7 @@ public class Accelerator extends Block{
|
|||||||
public boolean outputsItems(){
|
public boolean outputsItems(){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class AcceleratorBuild extends Building{
|
public class AcceleratorBuild extends Building{
|
||||||
public float heat, statusLerp;
|
public float heat, statusLerp;
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ public class Accelerator extends Block{
|
|||||||
heat = Mathf.lerpDelta(heat, consValid() ? 1f : 0f, 0.05f);
|
heat = Mathf.lerpDelta(heat, consValid() ? 1f : 0f, 0.05f);
|
||||||
statusLerp = Mathf.lerpDelta(statusLerp, power.status, 0.05f);
|
statusLerp = Mathf.lerpDelta(statusLerp, power.status, 0.05f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void draw(){
|
public void draw(){
|
||||||
super.draw();
|
super.draw();
|
||||||
@@ -72,7 +72,7 @@ public class Accelerator extends Block{
|
|||||||
Draw.rect(arrowRegion, x + Angles.trnsx(rot, length), y + Angles.trnsy(rot, length), rot + 180f);
|
Draw.rect(arrowRegion, x + Angles.trnsx(rot, length), y + Angles.trnsy(rot, length), rot + 180f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(heat < 0.0001f) return;
|
if(heat < 0.0001f) return;
|
||||||
|
|
||||||
float rad = size * tilesize / 2f * 0.74f;
|
float rad = size * tilesize / 2f * 0.74f;
|
||||||
|
|||||||
Reference in New Issue
Block a user