java.lang.Object
de.gurkenlabs.litiengine.abilities.effects.Effect
de.gurkenlabs.litiengine.abilities.effects.SoundEffect
All Implemented Interfaces:
IUpdateable

public class SoundEffect
extends Effect
  • Constructor Details

    • SoundEffect

      public SoundEffect​(Ability ability, Sound... sounds)
      Initializes a new instance of the SoundEffect class.
      Parameters:
      ability - The ability that performs the effect.
      sounds - The sounds to chose from when applying the effect.
    • SoundEffect

      public SoundEffect​(Ability ability, java.lang.String... sounds)
  • Method Details