diff options
Diffstat (limited to 'ws2015/eip/blaetter/07/de/lmu/tcs/Position.java')
-rw-r--r-- | ws2015/eip/blaetter/07/de/lmu/tcs/Position.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ws2015/eip/blaetter/07/de/lmu/tcs/Position.java b/ws2015/eip/blaetter/07/de/lmu/tcs/Position.java deleted file mode 100644 index 546da7f..0000000 --- a/ws2015/eip/blaetter/07/de/lmu/tcs/Position.java +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | package de.lmu.tcs; | ||
2 | |||
3 | /** | ||
4 | * Model | ||
5 | * | ||
6 | * Immutable | ||
7 | * | ||
8 | * Created by jost on 24.11.15. | ||
9 | */ | ||
10 | public class Position { | ||
11 | |||
12 | private final int x; | ||
13 | private final int y; | ||
14 | |||
15 | public Position(int x, int y) { | ||
16 | this.x = x; | ||
17 | this.y = y; | ||
18 | } | ||
19 | |||
20 | public int getX() { | ||
21 | return this.x; | ||
22 | } | ||
23 | |||
24 | public int getY() { | ||
25 | return this.y; | ||
26 | } | ||
27 | } | ||