summaryrefslogtreecommitdiff
path: root/ws2015/eip/blaetter/07/H7-1A/de/lmu/tcs/Position.java
blob: 546da7f27f244302a09d7e0c21c4d53edbca374a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package de.lmu.tcs;

/**
 * Model
 *
 * Immutable
 *
 * Created by jost on 24.11.15.
 */
public class Position {

    private final int x;
    private final int y;

    public Position(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return this.x;
    }

    public int getY() {
        return this.y;
    }
}