Package org.rspeer.game.event
Class SceneObjectSpawnEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.rspeer.event.Event<T>
-
- org.rspeer.game.event.GameEvent<SceneObjectSpawnEvent.SceneObjectSpawn>
-
- org.rspeer.game.event.SceneObjectSpawnEvent
-
- All Implemented Interfaces:
Serializable
public class SceneObjectSpawnEvent extends GameEvent<SceneObjectSpawnEvent.SceneObjectSpawn>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SceneObjectSpawnEvent.SceneObjectSpawn
static class
SceneObjectSpawnEvent.Tag
-
Constructor Summary
Constructors Constructor Description SceneObjectSpawnEvent(SceneObjectSpawnEvent.SceneObjectSpawn source)
Constructs a prototypical Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEndCycle()
int
getHidden()
int
getId()
int
getOrientation()
int
getPlane()
Position
getPosition()
int
getStartCycle()
SceneObjectSpawnEvent.Tag
getTag()
int
getTransform()
int
getX()
int
getY()
String
toString()
-
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumed
-
-
-
-
Constructor Detail
-
SceneObjectSpawnEvent
public SceneObjectSpawnEvent(SceneObjectSpawnEvent.SceneObjectSpawn source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Detail
-
getPosition
public Position getPosition()
-
getPlane
public int getPlane()
-
getX
public int getX()
-
getY
public int getY()
-
getTag
public SceneObjectSpawnEvent.Tag getTag()
-
getId
public int getId()
-
getTransform
public int getTransform()
-
getOrientation
public int getOrientation()
-
getHidden
public int getHidden()
-
getStartCycle
public int getStartCycle()
-
getEndCycle
public int getEndCycle()
-
toString
public String toString()
- Overrides:
toString
in classEventObject
-
-