Add a drawSelect to shockwave towers (#7172)
* add hover range display * absolute buffoon * so the local one works but that didn't * newline
This commit is contained in:
@@ -58,7 +58,7 @@ public class ShockwaveTower extends Block{
|
|||||||
|
|
||||||
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, waveColor);
|
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, waveColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ShockwaveTowerBuild extends Building{
|
public class ShockwaveTowerBuild extends Building{
|
||||||
public float reloadCounter = Mathf.random(reload);
|
public float reloadCounter = Mathf.random(reload);
|
||||||
public float heat = 0f;
|
public float heat = 0f;
|
||||||
@@ -115,5 +115,10 @@ public class ShockwaveTower extends Block{
|
|||||||
Fill.poly(x, y, shapeSides, shapeRadius * potentialEfficiency, Time.time * shapeRotateSpeed);
|
Fill.poly(x, y, shapeSides, shapeRadius * potentialEfficiency, Time.time * shapeRotateSpeed);
|
||||||
Draw.color();
|
Draw.color();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void drawSelect(){
|
||||||
|
Drawf.dashCircle(x, y, range, waveColor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user