We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816235a commit dd5efaeCopy full SHA for dd5efae
TicTacToeClient/src/Client/point.java
@@ -0,0 +1,31 @@
1
+/*
2
+ * To change this license header, choose License Headers in Project Properties.
3
+ * To change this template file, choose Tools | Templates
4
+ * and open the template in the editor.
5
+ */
6
+package Client;
7
+
8
+/**
9
+ * x je souřadnice, která vede vodorovně mřížkou
10
+ * y je souřadnice, která vede svisle mřížkou
11
+ * @author xminks
12
13
+public class point {
14
15
+ private final int x;
16
+ private final int y;
17
18
+ public point(int x, int y) {
19
+ this.x = x;
20
+ this.y = y;
21
+ }
22
23
+ public int getX() {
24
+ return x;
25
26
27
+ public int getY() {
28
+ return y;
29
30
31
+}
0 commit comments