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