Class com.flashdoctors.reflex.SequenceCommand

Implemented Interfaces

ICommand ICommandRunEventListener

Description

This command will run commands in sequence - it will wait for one to finish before calling the next one. Be sure any commands you add to this command properly call their done commands. The easiest way to make sure this happens is by extending AbstractCommand.

Method Index

new SequenceCommand()
addCommand(), create(), execute(), onCommandRunEvent(), setCommands()

Inherited from AbstractCommand

Constructor Detail

SequenceCommand

public function SequenceCommand()

Method Detail

create

static public function create(cmds1:Array):SequenceCommand

execute

public function execute():Void

Description copied from ICommand

Run this command

Specified By

execute() in com.flashdoctors.reflex.ICommand

Overrides

execute() in com.flashdoctors.reflex.AbstractCommand

addCommand

public function addCommand(cmd:ICommand):Void

setCommands

public function setCommands(c:IList):Void

onCommandRunEvent

public function onCommandRunEvent(evt:CommandRunEvent):Void