Interface CrewEntityActionProvider
-
public interface CrewEntityActionProvider
Implement this interface if your entity provides a custom entity action that has to be executed by CrewEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCrewEntityAction()
boolean
hasCrewEntityAction()
boolean
serverExecuteCrewEntityAction(CrewEntity crewEntity, GameSession gameSession)
Executes custom entity action
-
-
-
Method Detail
-
hasCrewEntityAction
boolean hasCrewEntityAction()
-
getCrewEntityAction
String getCrewEntityAction()
-
serverExecuteCrewEntityAction
boolean serverExecuteCrewEntityAction(CrewEntity crewEntity, GameSession gameSession)
Executes custom entity action- Parameters:
crewEntity
- Crew entity that executes the actiongameSession
- game session- Returns:
- true if action has been finished and entity action should be aborted; false if action continues;
-
-