Class EnemyMudRingSprayComponent
java.lang.Object
com.csse3200.game.components.Component
com.csse3200.game.components.enemy.EnemyMudRingSprayComponent
Circular mud spray (fires `count` projectiles evenly around a circle).
Each projectile: Sensor collision + damage + limited lifetime.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEnemyMudRingSprayComponent
(float cooldown, int count, float speed, float lifeSeconds) -
Method Summary
Modifier and TypeMethodDescriptionvoid
update()
Called once per frame of the game, and should be used for most component logic.Methods inherited from class com.csse3200.game.components.Component
create, dispose, earlyUpdate, getEntity, getPrio, setEnabled, setEntity, toString, triggerEarlyUpdate, triggerUpdate
-
Constructor Details
-
EnemyMudRingSprayComponent
public EnemyMudRingSprayComponent(float cooldown, int count, float speed, float lifeSeconds)
-
-
Method Details