From de88d7ee6054aeb7fee2edacd11286241f0c7ce9 Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Mon, 30 Sep 2013 09:54:48 +0000 Subject: [PATCH] BEFORE XY --- readline/bin/pad/prac1/Coordinate.class | Bin 0 -> 688 bytes readline/src/pad/prac1/Coordinate.java | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 0 deletions(-) create mode 100644 readline/bin/pad/prac1/Coordinate.class create mode 100644 readline/src/pad/prac1/Coordinate.java diff --git a/readline/bin/pad/prac1/Coordinate.class b/readline/bin/pad/prac1/Coordinate.class new file mode 100644 index 0000000..21285e1 Binary files /dev/null and b/readline/bin/pad/prac1/Coordinate.class differ diff --git a/readline/src/pad/prac1/Coordinate.java b/readline/src/pad/prac1/Coordinate.java new file mode 100644 index 0000000..d136dbe --- /dev/null +++ b/readline/src/pad/prac1/Coordinate.java @@ -0,0 +1,33 @@ +package pad.prac1; + +public class Coordinate +{ + private int xPos; + private int yPos; + + public Coordinate(int x, int y) + { + xPos = x; + yPos = y; + } + + public int x() + { + return xPos; + } + + public int y() + { + return yPos; + } + + public void setX(int x) + { + xPos = x; + } + + public void setY(int y) + { + yPos = y; + } +} -- libgit2 0.22.2