Class Definition<P extends RSDefinition>
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<P>
-
- org.rspeer.game.adapter.definition.Definition<P>
-
- All Implemented Interfaces:
Actionable
,Identifiable
,Nameable
- Direct Known Subclasses:
ItemDefinition
,TransformableDefinition
public abstract class Definition<P extends RSDefinition> extends Adapter<P> implements Identifiable, Nameable, Actionable
-
-
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.Nameable
Nameable.Query<Q extends Nameable.Query<Q>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getActions()
int
getId()
String
getName()
P
getProvider()
String[]
getRawActions()
-
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
-
-
-
-
Method Detail
-
getProvider
public P getProvider()
- Overrides:
getProvider
in classAdapter<P extends RSDefinition>
-
getId
public int getId()
- Specified by:
getId
in interfaceIdentifiable
-
getRawActions
public String[] getRawActions()
- Specified by:
getRawActions
in interfaceActionable
-
getActions
public List<String> getActions()
- Specified by:
getActions
in interfaceActionable
-
-