Class NextRoundOption

java.lang.Object
javatro.manager.options.NextRoundOption
All Implemented Interfaces:
Option

public class NextRoundOption extends Object implements Option
  • Constructor Details

    • NextRoundOption

      public NextRoundOption()
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: Option
      Retrieves a description of the command. This method has a default implementation returning an empty string.
      Specified by:
      getDescription in interface Option
      Returns:
      A string representing the command description.
    • execute

      public void execute() throws JavatroException
      Executes the command to move on to the next round. The command will give the player a PlanetCard or a Joker, depending on the Blind won.
      Specified by:
      execute in interface Option
      Throws:
      JavatroException - If an error occurs during execution.