Merging changes from private branch

This commit is contained in:
Anuken
2025-04-04 11:47:35 -04:00
parent cf5c6d0905
commit b7dbe54d76
161 changed files with 2484 additions and 1137 deletions

View File

@@ -6,6 +6,20 @@ import arc.util.*;
public class ShootHelix extends ShootPattern{
public float scl = 2f, mag = 1.5f, offset = Mathf.PI * 1.25f;
public ShootHelix(float scl, float mag){
this.scl = scl;
this.mag = mag;
}
public ShootHelix(float scl, float mag, float offset){
this.scl = scl;
this.mag = mag;
this.offset = offset;
}
public ShootHelix(){
}
@Override
public void shoot(int totalShots, BulletHandler handler, @Nullable Runnable barrelIncrementer){
for(int i = 0; i < shots; i++){

View File

@@ -14,6 +14,10 @@ public class ShootSpread extends ShootPattern{
public ShootSpread(){
}
public static ShootSpread circle(int points){
return new ShootSpread(points, 360f / points);
}
@Override
public void shoot(int totalShots, BulletHandler handler, @Nullable Runnable barrelIncrementer){
for(int i = 0; i < shots; i++){