Exemplo n.º 1
0
 public void StopProcessMousePosition()
 {
     isObjectForProcess = false;
     currentFieldObject = null;
 }
Exemplo n.º 2
0
        public void ProcessMousePosition()
        {
            foreach (IField fieldObject in fieldObjects)
            {
                if (fieldObject.isFixPoint(currentLocationX, currentLocationY))
                {
                    isObjectForProcess = true;
                    currentFieldObject = fieldObject;
                }
            }

            if (isObjectForProcess)
            {
                if (currentFieldObject != null)
                {
                    currentFieldObject.ProcessMousePosition(currentLocationX, currentLocationY);
                }
            }
        }