Swarmer cleanup

This commit is contained in:
Anuken
2022-02-24 23:41:41 -05:00
parent 45f27eaeec
commit 28dab2fa05
2 changed files with 6 additions and 6 deletions

View File

@@ -75,6 +75,8 @@ public class Turret extends ReloadTurret{
public float minWarmup = 0f;
/** If true, this turret will accurately target moving targets with respect to charge time. */
public boolean accurateDelay = false;
/** If false, this turret can't move while charging. */
public boolean moveWhileCharging = true;
/** pattern used for bullets */
public ShootPattern shoot = new ShootPattern();
@@ -404,7 +406,7 @@ public class Turret extends ReloadTurret{
}
public boolean shouldTurn(){
return !charging();
return moveWhileCharging || !charging();
}
@Override