Created
February 25, 2011 11:16
-
-
Save neilmanuell/843667 to your computer and use it in GitHub Desktop.
Example implementation of a MacroAction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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