public bool IsActionJustInvalidated(string actionName)
        {
            EntryAction entryAction = GetEntryAction(actionName);

            if (entryAction != null)
            {
                return(entryAction.IsJustInvalidated());
            }
            return(false);
        }
        protected EntryAction GetEntryAction(string actionName)
        {
            if (entryActions.ContainsKey(actionName))
            {
                EntryAction action = entryActions[actionName];
            }
            else
            {
                throw new System.Exception("EntryAction " + actionName + " not in InputManager.entryActions");
            }

            return(null);
        }