回答編集履歴
2
見直しキャンペーン中
test
CHANGED
@@ -13,6 +13,6 @@
|
|
13
13
|
int ux = mouseX/100;
|
14
14
|
int uy = mouseY/100;
|
15
15
|
|
16
|
-
//if(units[ux][ux] == 0){
|
16
|
+
//if(units[ux][ux] == 0){ // ux ux
|
17
|
-
if(units[ux][uy] == 0){
|
17
|
+
if(units[ux][uy] == 0){ // ux uy
|
18
18
|
```
|
1
コード指定忘れ
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
デバッガを使ったり`println`を所々に入れたりして、実際の動作がどうなっているかを確認してください。
|
10
10
|
|
11
|
-
```
|
11
|
+
```Processing
|
12
12
|
void mousePressed(){
|
13
13
|
int ux = mouseX/100;
|
14
14
|
int uy = mouseY/100;
|