소스 검색

Patch.clone() takes a Grid.

master
Ben Kurtovic 11 년 전
부모
커밋
fcdb30a1f7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/Patch.java

+ 2
- 2
src/Patch.java 파일 보기

@@ -71,7 +71,7 @@ public class Patch {
return neighbors;
}

public Patch clone() {
return new Patch(_grid, _xcor, _ycor, _state, _label);
public Patch clone(Grid grid) {
return new Patch(grid, _xcor, _ycor, _state, _label);
}
}

불러오는 중...
취소
저장