Beispiel #1
0
        public static void RemoveControlMarker(UInt32 markerLocation)
        {
            Grid.CellID id = new Technite.CompressedLocation(markerLocation).CellID;

            for (int i = 0; i < AllControlMarkers.Count; i++)
            {
                if (AllControlMarkers[i].Location == id)
                {
                    Out.Log(Significance.Low, "Removed control marker " + id);
                    AllControlMarkers.RemoveAt(i);
                    return;
                }
            }
            Out.Log(Significance.Unusual, "Unable to locate control marker '" + id + "'");
        }
Beispiel #2
0
		public static void RemoveControlMarker(UInt32 markerLocation)
		{
			Grid.CellID id = new Technite.CompressedLocation(markerLocation).CellID;

			for (int i = 0; i < AllControlMarkers.Count; i++)
			{
				if (AllControlMarkers[i].Location == id)
				{
					Out.Log(Significance.Low, "Removed control marker " + id);
					AllControlMarkers.RemoveAt(i);
					return;
				}
			}
			Out.Log(Significance.Unusual, "Unable to locate control marker '" + id + "'");
		}