回答編集履歴
1
詳細に
answer
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
```swift
|
5
5
|
func touchesBegan {
|
6
|
-
if (touchesBeganIsStarted) { return } // フラグ立っていたら実行しない
|
6
|
+
if (touchesBeganIsStarted) { return } // 既に実行中でフラグ立っていたら実行しない
|
7
7
|
// 実際に touchesEnded リスナーを呼ぶ処理
|
8
8
|
}
|
9
9
|
```
|