Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2024-10-27 21:16:57 -04:00
2 changed files with 5 additions and 3 deletions

View File

@@ -19,6 +19,8 @@ public class BaseShield extends Block{
//TODO game rule? or field? should vary by base.
public float radius = 200f;
public int sides = 24;
public @Nullable Color shieldColor;
protected static BaseShieldBuild paramBuild;
//protected static Effect paramEffect;
@@ -125,7 +127,7 @@ public class BaseShield extends Block{
Draw.z(Layer.shields);
Draw.color(team.color, Color.white, Mathf.clamp(hit));
Draw.color(shieldColor == null ? team.color : shieldColor, Color.white, Mathf.clamp(hit));
if(renderer.animateShields){
Fill.poly(x, y, sides, radius);