Package com.csse3200.game.effects
Class RapidFireEffect
java.lang.Object
com.csse3200.game.effects.Effect
com.csse3200.game.effects.RapidFireEffect
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RapidFireEffect
public RapidFireEffect(float duration)
-
-
Method Details
-
apply
Description copied from class:Effect
Applies this effect to the given entity.Implementations should define what happens when the effect is applied. If the effect cannot be applied (e.g., the entity is missing required components), the method should return
false
. -
update
public void update(float dt) -
isActive
public boolean isActive()
-