Created
February 4, 2011 12:02
-
-
Save neilmanuell/811035 to your computer and use it in GitHub Desktop.
the bastard child of a Signal and SignalCommadMap
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 MacroCommandSignal extends Signal | |
{ | |
[Inject] | |
public var signalCommandMap:ISignalCommandMap; | |
public function MacroCommandSignal() | |
{ | |
// allows a payload Object to be injected into each command | |
super( Object ); | |
initialise() | |
} | |
private function initialise():void | |
{ | |
signalCommandMap.mapSignal( this, FirstCmd ); | |
signalCommandMap.mapSignal( this, SecondCmd ); | |
signalCommandMap.mapSignal( this, ThirdCmd ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment