extends BulletType
field | type | default | note |
---|---|---|---|
length | float | 100 | |
width | float | 0.4 | |
fromColor | Color | Color.white | |
toColor | Color | Pal.lancerLaser | |
hitLarge | boolean | false | |
serrations | int | 7 | |
serrationLenScl | float | 10 | |
serrationWidth | float | 4 | |
serrationSpacing | float | 8 | |
serrationSpaceOffset | float | 80 | |
serrationFadeOffset | float | 0.5 |
public ShrapnelBulletType(){ speed = 0f; hitEffect = Fx.hitLancer; shootEffect = smokeEffect = Fx.lightningShoot; lifetime = 10f; despawnEffect = Fx.none; keepVelocity = false; collides = false; pierce = true; hittable = false; absorbable = false; lightOpacity = 0.6f; }