Interface AIControllable
- All Known Implementing Classes:
Goblin
public interface AIControllable
Interface for entities that can be controlled by AI.
Goblin implements this interface so it can decide actions without waiting for player input.
-
Method Summary
Modifier and TypeMethodDescriptiondecideAction(Entity target) Decides what action to take this turn.
-
Method Details
-
decideAction
Decides what action to take this turn.- Parameters:
target- The opposing entity (used as a reference for decision-making)- Returns:
- The BattleAction chosen by the AI
-