Class CommandBlock

  • All Implemented Interfaces:
    JMadExecutable

    public class CommandBlock
    extends AbstractTask
    this block just represents a block of commands which is executed in one go.
    • Constructor Detail

      • CommandBlock

        public CommandBlock​(java.util.List<Command> commands)
    • Method Detail

      • getCommands

        protected java.util.List<Command> getCommands()
        Description copied from class: AbstractTask
        has to be implemented in subclass in order to retrieve the commands
        Specified by:
        getCommands in class AbstractTask
        Returns:
        the ArrayList of commands