WsfFormationCommandSequence

WsfFormationCommandSequence inherits WsfFormationCommand

A WsfFormationCommandSequence is a command that executes a sequence of commands in turn.

Methods

WsfFormationCommandSequence Construct()

Create an empty command sequence.

void AppendCommand(WsfFormationCommand aCommand)

Append the given command to the command sequence. This method will do nothing if the command sequence has already been assigned to a formation.

void AppendCommand(WsfFormationCommand aCommand, WsfFormationCommandConstraint aConstraint)

Append the given command to the command sequence, and give that command the given constraint. This method will do nothing if the command sequence has already been assigned to a formation.

int GetNumCommands()

Return the number of commands in this command sequence.

WsfFormationCommand CurrentCommand()

Return the command in the sequence that is currently being executed.