Package org.rspeer.game.event
Class AudioEffectEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<String>
-
- org.rspeer.game.event.AudioEffectEvent
-
- All Implemented Interfaces:
Serializable
public class AudioEffectEvent extends GameEvent<String>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AudioEffectEvent(int id, int loops, int delay)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDelay()
int
getId()
int
getLoops()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
AudioEffectEvent
public AudioEffectEvent(int id, int loops, int delay)
Constructs a prototypical Event.- Throws:
IllegalArgumentException
- if source is null.
-
-