# HG changeset patch
# User axmet
# Date 1342188785 -14400
# Node ID 80446fa5641a58265802b38dcf0a8b15792f0207
mine
diff -r 000000000000 -r 80446fa5641a .classpath
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.classpath Fri Jul 13 18:13:05 2012 +0400
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff -r 000000000000 -r 80446fa5641a .project
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.project Fri Jul 13 18:13:05 2012 +0400
@@ -0,0 +1,17 @@
+
+
+ icfpc-2012
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff -r 000000000000 -r 80446fa5641a bin/ru/bosony/icfpc/Mine.class
Binary file bin/ru/bosony/icfpc/Mine.class has changed
diff -r 000000000000 -r 80446fa5641a bin/ru/bosony/icfpc/Start.class
Binary file bin/ru/bosony/icfpc/Start.class has changed
diff -r 000000000000 -r 80446fa5641a bin/ru/bosony/icfpc/cells/Cell.class
Binary file bin/ru/bosony/icfpc/cells/Cell.class has changed
diff -r 000000000000 -r 80446fa5641a bin/ru/bosony/icfpc/cells/CellTypes.class
Binary file bin/ru/bosony/icfpc/cells/CellTypes.class has changed
diff -r 000000000000 -r 80446fa5641a src/ru/bosony/icfpc/Mine.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ru/bosony/icfpc/Mine.java Fri Jul 13 18:13:05 2012 +0400
@@ -0,0 +1,59 @@
+package ru.bosony.icfpc;
+
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import ru.bosony.icfpc.cells.Cell;
+import ru.bosony.icfpc.cells.CellTypes;
+
+/**
+ * Шахта
+ *
+ * @author akhmetovlz
+ *
+ */
+public class Mine
+{
+ private Map cellPrototypes = new LinkedHashMap();
+
+ private Cell cells[][];
+
+ public Mine(int n, int m, String content)
+ {
+ initCellPrototypes();
+
+ cells = new Cell[n][m];
+
+ int index = 0;
+
+ for(int i=0; i