This commit is contained in:
Anuken
2020-04-28 19:33:59 -04:00
parent d4163f2d1c
commit 2ee99b3290
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,9 @@ public class ForceProjector extends Block{
public void drawPlace(int x, int y, int rotation, boolean valid){
super.drawPlace(x, y, rotation, valid);
Draw.color(Pal.gray);
Lines.stroke(3f);
Lines.poly(x * tilesize, y * tilesize, 6, radius);
Draw.color(Pal.accent);
Lines.stroke(1f);
Lines.poly(x * tilesize, y * tilesize, 6, radius);

View File

@ -99,7 +99,7 @@ public class OverdriveProjector extends Block{
public void drawSelect(){
float realRange = range + phaseHeat * phaseRangeBoost;
indexer.eachBlock(this, realRange, other -> true, other -> Drawf.selected(other, Tmp.c1.set(baseColor).a(Mathf.absin(4f, 1f))));
indexer.eachBlock(this, realRange, other -> other.block().canOverdrive, other -> Drawf.selected(other, Tmp.c1.set(baseColor).a(Mathf.absin(4f, 1f))));
Drawf.dashCircle(x, y, realRange, baseColor);
}