diff -r f83e1e778061 -r be45d8e4c165 src/ru/bosony/icfpc/Mine.java --- a/src/ru/bosony/icfpc/Mine.java Fri Jul 13 18:45:38 2012 +0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -package ru.bosony.icfpc; - -import java.nio.file.FileVisitOption; -import java.util.LinkedHashMap; -import java.util.Map; - -import ru.bosony.icfpc.cells.Cell; - -/** - * Шахта - * - * @author akhmetovlz - * - */ -public class Mine -{ - private Map cellPrototypes = new LinkedHashMap(); - - private Cell cells[][][]; - private int index = 0; - - public Mine(int n, int m, String content) - { - initCellPrototypes(); - - cells = new Cell[2][n][m]; - - int index = 0; - - for(int i=0; i1; --j) - { - switch(firstBuffer()[i][j]) - { - case ROCK: - { - if(firstBuffer()[i][j-1] == Cell.EMPTY) - { - secondBuffer()[i][j] = Cell.EMPTY; - } - } - break; - } - } - } - -}