docs(command): update UseCommand javadoc for the combination form
This commit is contained in:
@@ -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 <item-id>}.
|
||||
* 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 <item> on <item>}), delegates to the
|
||||
* combination engine. Usage: {@code use <item>} or {@code use <item> on <item>}.
|
||||
*/
|
||||
public class UseCommand implements Command {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user