Class InfiniteJumpsCommand

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

public class InfiniteJumpsCommand extends Object implements Command
A command for toggling whether a player has infinite jumps
  • Constructor Details

    • InfiniteJumpsCommand

      public InfiniteJumpsCommand()
  • Method Details

    • action

      public boolean action(ArrayList<String> args)
      Description copied from interface: Command
      Action a command.
      Specified by:
      action in interface Command
      Parameters:
      args - command args
      Returns:
      command was successful