Class StartCommand

    • Constructor Detail

      • StartCommand

        public StartCommand​(Command commandToStart)
        Instantiates a StartCommand which will start the given command whenever its initialize() is called.
        commandToStart - the Command to start
    • Method Detail

      • initialize

        protected void initialize()
        Description copied from class: Command
        The initialize method is called the first time this Command is run after being started.
        initialize in class Command