Merging changes from private branch
This commit is contained in:
@@ -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++){
|
||||
|
||||
@@ -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++){
|
||||
|
||||
Reference in New Issue
Block a user