Package org.rspeer.game.adapter.scene
Class EffectObject
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<P>
-
- org.rspeer.game.adapter.scene.Entity<RSEffectObject>
-
- org.rspeer.game.adapter.scene.EffectObject
-
- All Implemented Interfaces:
Actionable
,Identifiable
,Interactable
,SceneNode
public class EffectObject extends Entity<RSEffectObject> implements Identifiable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Actionable
Actionable.Query<Q extends Actionable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.Identifiable
Identifiable.Query<Q extends Identifiable.Query<Q>>
-
Nested classes/interfaces inherited from interface org.rspeer.game.adapter.type.SceneNode
SceneNode.Query<Q extends SceneNode.Query<Q>>
-
-
Constructor Summary
Constructors Constructor Description EffectObject(RSEffectObject provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuAction
actionOf(String action)
List<String>
getActions()
int
getId()
Position
getPosition()
String[]
getRawActions()
boolean
isEffectFinished()
-
Methods inherited from class org.rspeer.game.adapter.scene.Entity
getHeight, getModel, getModelPosition
-
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.game.adapter.type.Actionable
containsAction, containsAction
-
Methods inherited from interface org.rspeer.game.adapter.type.Interactable
actionOf, interact, interact, interact, interact, interact
-
Methods inherited from interface org.rspeer.game.adapter.type.SceneNode
distance, distance, distance, distance, getArea, getEntityPositionHeight, getEntityPositionWidth, getFloorLevel, getX, getY, isInFieldOfViewOf, isInFieldOfViewOf
-
-
-
-
Constructor Detail
-
EffectObject
public EffectObject(RSEffectObject provider)
-
-
Method Detail
-
actionOf
public MenuAction actionOf(String action)
- Specified by:
actionOf
in interfaceInteractable
-
getRawActions
public String[] getRawActions()
- Specified by:
getRawActions
in interfaceActionable
-
getActions
public List<String> getActions()
- Specified by:
getActions
in interfaceActionable
-
getId
public int getId()
- Specified by:
getId
in interfaceIdentifiable
-
getPosition
public Position getPosition()
- Specified by:
getPosition
in interfaceSceneNode
- Specified by:
getPosition
in classEntity<RSEffectObject>
-
isEffectFinished
public boolean isEffectFinished()
-
-