Modding API-related tweaks
This commit is contained in:
@@ -4,6 +4,14 @@ public class ShootSpread extends ShootPattern{
|
||||
/** spread between bullets, in degrees. */
|
||||
public float spread = 5f;
|
||||
|
||||
public ShootSpread(int shots, float spread){
|
||||
this.shots = shots;
|
||||
this.spread = spread;
|
||||
}
|
||||
|
||||
public ShootSpread(){
|
||||
}
|
||||
|
||||
@Override
|
||||
public void shoot(int totalShots, BulletHandler handler){
|
||||
for(int i = 0; i < shots; i++){
|
||||
|
||||
Reference in New Issue
Block a user