| Package | com.soma.core.interfaces |
| Interface | public interface ISequenceCommand extends ICommand |
| Implementors | SequenceCommand |
Author: Romuald Quantin - www.soundstep.com
Resources: http://www.soundstep.com/downloads/somacore
Actionscript version: 3.0
Copyright: Mozilla Public License 1.1 (MPL 1.1) http://www.opensource.org/licenses/mozilla1.1.php
See also
| Property | Defined By | ||
|---|---|---|---|
| commands : Array [read-only]
Retrieves the list of commands added as subcommands. | ISequenceCommand | ||
| currentCommand : Event [read-only]
Retrieves the command that is currently executed (running). | ISequenceCommand | ||
| length : int [read-only]
Retrieves the number of commands added as subcommands. | ISequenceCommand | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | execute(event:Event):void
Method called by the framework, this is the execution of the command. | ICommand | |
executeNextCommand():void
Method used to execute the next command in the list of subcommands. | ISequenceCommand | ||
stop():void
Stops the current sequence. | ISequenceCommand | ||
| commands | property |
commands:Array [read-only] Retrieves the list of commands added as subcommands.
public function get commands():Array| currentCommand | property |
currentCommand:Event [read-only] Retrieves the command that is currently executed (running).
public function get currentCommand():Event| length | property |
length:int [read-only] Retrieves the number of commands added as subcommands.
public function get length():int| executeNextCommand | () | method |
public function executeNextCommand():voidMethod used to execute the next command in the list of subcommands.
| stop | () | method |
public function stop():voidStops the current sequence.