Skip to content

Instantly share code, notes, and snippets.

@neilmanuell
Created February 25, 2011 11:16
Show Gist options
  • Save neilmanuell/843667 to your computer and use it in GitHub Desktop.
Save neilmanuell/843667 to your computer and use it in GitHub Desktop.
Example implementation of a MacroAction
public class LockDoor extends BaseMacroAction
{
override protected function initiateMacroAction( payload:Object ):void
{
sendAction( ActionNames.CLOSE);
sendAction( ActionNames.LOCK, payload );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment