Class SetTimeCommand

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

public class SetTimeCommand extends Object implements Command
  • Constructor Details

    • SetTimeCommand

      public SetTimeCommand()
  • Method Details

    • action

      public boolean action(ArrayList<String> args)
      Adjusts the current game time to the specified value
      Specified by:
      action in interface Command
      Parameters:
      args - command args
      Returns:
      command was successful