Modding API-related tweaks

This commit is contained in:
Anuken
2022-05-06 13:45:43 -04:00
parent 9da97c4d3c
commit 55f729565b
23 changed files with 85 additions and 72 deletions

View File

@@ -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++){