Package org.rspeer.game.adapter.type
Interface Actionable
- All Known Subinterfaces:
Interactable
- All Known Implementing Classes:
Definition
,EffectObject
,Entity
,InterfaceComponent
,Item
,ItemDefinition
,Npc
,NpcDefinition
,ObjectDefinition
,PathingEntity
,Pickable
,Player
,Projectile
,SceneObject
,TransformableDefinition
public interface Actionable
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Actionable.Query<Q extends Actionable.Query<Q>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
containsAction
(String action) default boolean
containsAction
(Predicate<String> predicate) String[]
-
Method Details
-
getRawActions
String[] getRawActions() -
getActions
-
containsAction
- Parameters:
predicate
- The predicate used to test the actions- Returns:
true
if any of the actions satisfy the predicate
-
containsAction
- Parameters:
action
- The action to check for- Returns:
true
if this Actionable contains the specified action
-