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:
null 2022-07-15 14:45:05 +02:00 committed by GitHub
parent d72d663219
commit 0711d7075e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ public class ShockwaveTower extends Block{
Drawf.dashCircle(x * tilesize + offset, y * tilesize + offset, range, waveColor);
}
public class ShockwaveTowerBuild extends Building{
public float reloadCounter = Mathf.random(reload);
public float heat = 0f;
@ -115,5 +115,10 @@ public class ShockwaveTower extends Block{
Fill.poly(x, y, shapeSides, shapeRadius * potentialEfficiency, Time.time * shapeRotateSpeed);
Draw.color();
}
@Override
public void drawSelect(){
Drawf.dashCircle(x, y, range, waveColor);
}
}
}
}