Package org.rspeer.game.event
Class ProjectileSpawnEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<Projectile>
-
- org.rspeer.game.event.ProjectileSpawnEvent
-
- All Implemented Interfaces:
Serializable
public class ProjectileSpawnEvent extends GameEvent<Projectile>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectileSpawnEvent(Projectile source)
Constructs a prototypical Event.
-
Method Summary
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ProjectileSpawnEvent
public ProjectileSpawnEvent(Projectile source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-