/// <summary> /// 첫 타일을 제거한뒤 움직입니다. 만약 첫타일의 좌표가 fireandice의 좌표가 같다면 타일을 제거하지 않습니다. /// </summary> public void DelTile(bool revert = false) { if (State == GameState.Ready || State == GameState.GameOver) { return; } if (fireandIce.Container.Position == Tile.GetTilePosition(0)) { return; } Tile.DelTile(revert); Count -= 1; // tapCount가 0 미만일 때, tap 메서드를 사용한다면 의도치않은 동작을 할 수 있습니다. if (tapCount != 0) { tapCount -= 1; } }