Exemple #1
0
 public CommandActionMapping(Command command, ActionDelagate action, Object args = null)
 {
     Command = command;
     Action  = action;
     Args    = args;
 }
Exemple #2
0
 public void setAction(Action.eActionType actionType)
 {
     startActionHandler = actions[(int)actionType].StartAction;
     stopActionHandler  = actions[(int)actionType].StopAction;
 }