This commit is contained in:
Anuken
2022-06-30 10:45:17 -04:00
parent efc7194fbe
commit 5c1b874f38
3 changed files with 4 additions and 4 deletions

View File

@@ -31,12 +31,12 @@ public class ItemTurret extends Turret{
ammoTypes = ObjectMap.of(objects);
}
/** Makes copies of all bullets and limits their range. */
/** Limits bullet range to this turret's range value. */
public void limitRange(){
limitRange(9f);
}
/** Makes copies of all bullets and limits their range. */
/** Limits bullet range to this turret's range value. */
public void limitRange(float margin){
for(var entry : ammoTypes.entries()){
limitRange(entry.value, margin);