Package org.rspeer.game.event
Class ProjectileMoveEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<Projectile>
-
- org.rspeer.game.event.ProjectileMoveEvent
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ProjectileMoveEvent extends GameEvent<Projectile>
Deprecated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectileMoveEvent(Projectile source, Position position, int height, int cycle)Deprecated.Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetCycle()Deprecated.intgetHeight()Deprecated.PositiongetTargetPosition()Deprecated.-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ProjectileMoveEvent
public ProjectileMoveEvent(Projectile source, Position position, int height, int cycle)
Deprecated.Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred.- Throws:
IllegalArgumentException- if source is null.
-
-
Method Detail
-
getTargetPosition
public Position getTargetPosition()
Deprecated.
-
getHeight
public int getHeight()
Deprecated.
-
getCycle
public int getCycle()
Deprecated.
-
-