Class MoralCommands

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

public class MoralCommands extends Object implements Command
  • Constructor Details

    • MoralCommands

      public MoralCommands()
  • Method Details

    • action

      public boolean action(ArrayList<String> args)
      Adds a question to the moral decision component.
      Specified by:
      action in interface Command
      Parameters:
      args - command arguments
      Returns:
      command was successful