public objTouchResult checkTouch(int x, int y, List<string> checkList)
        {
            objTouchResult result = new objTouchResult(0, null);

            foreach (ObjTouch msg in touchDefList)
            {
                if (!checkList.Contains(msg.name))
                {
                    continue;
                }

                if (msg.sens == 0)
                {
                    continue;
                }

                int res = msg.checkTouch(x, y);

                if (res == 2)
                {
                    result.result = 2;
                    result.obj = msg;

                    return result;
                }
                else if (res == 1)
                {
                    result.result = 1;
                }
            }

            return result;
        }
        public objTouchResult checkClick(int x, int y, List<string> checkList, int mode)
        {
            objTouchResult result = new objTouchResult(0, null);

            foreach (ObjTouch msg in touchDefList)
            {
                if (!checkList.Contains(msg.name))
                {
                    continue;
                }

                if (mode == msg.type)
                {
                    result.result = mode;
                    if (msg.checkClick(x, y))
                    {
                        result.obj = msg;
                        return result;
                    }
                }
            }

            return result;
        }