Changed up the window modules to inherit the generic stuff. Adding more and more modules. CBInfoBrowser in progress.
[VOID.git] / Tools.cs
blob:a/Tools.cs -> blob:b/Tools.cs
--- a/Tools.cs
+++ b/Tools.cs
@@ -586,20 +586,6 @@
 			else if (heading > 326.25 && heading <= 348.75) return "NNW";
 			else return "";
 		}
-
-		public static double[] ParseXYString(string s)
-		{
-			string[] xy = s.Split (',');
-			if (xy.Length != 2)
-			{
-				throw new ArgumentException ("Argument must be of the format 'x,y'.");
-			}
-
-			double x = double.Parse (xy [0].Trim ());
-			double y = double.Parse (xy [1].Trim ());
-
-			return new double[] { x, y };
-		}
 				
 		private static ScreenMessage debugmsg = new ScreenMessage("", 2f, ScreenMessageStyle.UPPER_RIGHT);