public static ACTIONS fromString(String strKey) {
            if (strKey.equalsIgnoreCase("ACTION_UP")) return ACTION_UP;
            else if (strKey.equalsIgnoreCase("ACTION_LEFT")) return ACTION_LEFT;
            else if (strKey.equalsIgnoreCase("ACTION_DOWN")) return ACTION_DOWN;
            else if (strKey.equalsIgnoreCase("ACTION_RIGHT")) return ACTION_RIGHT;
            else if (strKey.equalsIgnoreCase("ACTION_USE")) return ACTION_USE;
            else if (strKey.equalsIgnoreCase("ACTION_ESCAPE")) return ACTION_ESCAPE;
            else return ACTION_NIL;
        }