Package mindustry.entities.pattern
Class ShootSummon
java.lang.Object
mindustry.entities.pattern.ShootPattern
mindustry.entities.pattern.ShootSummon
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.entities.pattern.ShootPattern
ShootPattern.BulletHandler
-
Field Summary
Fields inherited from class mindustry.entities.pattern.ShootPattern
firstShotDelay, shotDelay, shots
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
shoot
(int totalShots, ShootPattern.BulletHandler handler, Runnable barrelIncrementer) Called on a single "trigger pull".Methods inherited from class mindustry.entities.pattern.ShootPattern
copy, flip, shoot
-
Field Details
-
x
public float x -
y
public float y -
radius
public float radius -
spread
public float spread
-
-
Constructor Details
-
ShootSummon
public ShootSummon(float x, float y, float radius, float spread)
-
-
Method Details
-
shoot
public void shoot(int totalShots, ShootPattern.BulletHandler handler, @Nullable Runnable barrelIncrementer) Description copied from class:ShootPattern
Called on a single "trigger pull". This function should call the handler with any bullets that result.- Overrides:
shoot
in classShootPattern
-