Class RemoveItemCommand

java.lang.Object
com.csse3200.game.ui.terminal.commands.RemoveItemCommand
All Implemented Interfaces:
Command

public class RemoveItemCommand extends Object implements Command
  • Constructor Details

    • RemoveItemCommand

      public RemoveItemCommand()
  • Method Details

    • action

      public boolean action(ArrayList<String> args)
      Action a command to add an item to a player's inventory
      Specified by:
      action in interface Command
      Parameters:
      args - command args
      Returns:
      command was successful