Interface Applicable
public interface Applicable
Interface for objects that can apply an effect to an entity.
Both Item and Skill (HEAL_SELF) implement this interface,
allowing BattleManager to use them without knowing the concrete class.
-
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the effect to the target entity.Returns a description of the effect for display in the UI.
-
Method Details
-
apply
Applies the effect to the target entity.- Parameters:
target- Entity to receive the effect
-
getEffectDescription
String getEffectDescription()Returns a description of the effect for display in the UI.- Returns:
- Effect description text
-