diff --git a/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java b/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java index ec9950d..3f08406 100644 --- a/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java +++ b/Semesterprojekt/src/main/java/thb/jeanluc/adventure/command/impl/UseCommand.java @@ -9,9 +9,10 @@ import java.util.List; import java.util.Optional; /** - * Invokes the item-specific {@link Item#use(GameContext)} action. The - * item must either be in the player's inventory or in the current room. - * Usage: {@code use }. + * With one argument, invokes the item-specific {@link Item#use(GameContext)} + * action; the item must be in the player's inventory or the current room. + * With two arguments ({@code use on }), delegates to the + * combination engine. Usage: {@code use } or {@code use on }. */ public class UseCommand implements Command {