From c30e0a3512556d6a39934def91a75f9e04875aab Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 2 Dec 2013 13:55:41 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BC=D0=B5=D1=82=D0=BE=D0=B4=20readPoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tse/lr5/Utils.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tse/lr5/Utils.java b/src/tse/lr5/Utils.java index 4f8a0f2..cc98b8d 100644 --- a/src/tse/lr5/Utils.java +++ b/src/tse/lr5/Utils.java @@ -1,5 +1,6 @@ package tse.lr5; +import java.awt.Point; import java.io.File; import java.io.FilenameFilter; @@ -18,4 +19,10 @@ public class Utils { } }); } + + public static Point readPoint(String s1, String s2) { + int x = Integer.parseInt(s1); + int y = Integer.parseInt(s2); + return new Point(x, y); + } } \ No newline at end of file