/*
 * A cell in the image taken by the Camera.
 */

public class Cell
{
    public Cell (Coordinate coord, char contents, boolean debug)
    {
        _coord = coord;
        _contents = contents;
        _debug = debug;
    }

    public Cell (Coordinate coord)
    {
        this(coord, CellId.OPEN_PASSAGE, false); // some defaults
    }
    
    public final Coordinate position ()
    {
        return _coord;
    }

    @Override
    public int hashCode ()
    {
        return _coord.hashCode();
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (this == obj)
            return true;
        
        if (getClass() == obj.getClass())
        {
            Cell temp = (Cell) obj;

            return temp.position().equals(position());
        }

        return false;
    }

    @Override
    public String toString ()
    {
        return "Cell at "+_coord+" is "+_contents;
    }

    private Coordinate _coord;
    private char _contents;
    private boolean _debug;
}
@@ -216,24 +216,28 @@
 ebug;%0A    %7D%0A
+    
 %0A    public 
@@ -228,38 +228,38 @@
     %0A    public 
-Cel
+fina
 l 
-(
 Coordinate coord
@@ -253,21 +253,26 @@
 rdinate 
-coord
+position (
 )%0A    %7B%0A
@@ -283,76 +283,97 @@
     
-this(coord, CellId.OPEN_PASSAGE, false); // some defaults
+return _coord;%0A    %7D%0A%0A    public boolean isEntrance ()%0A    %7B%0A        return false;
 %0A    %7D%0A
-    
 %0A   
@@ -384,33 +384,85 @@
 lic 
-final Coordinate position
+boolean isDoor ()%0A    %7B%0A        return false;%0A    %7D%0A%0A    public boolean isKey
  ()%0A
@@ -478,38 +478,37 @@
      return 
-_coord
+false
 ;%0A    %7D%0A
 %0A    @Overri
@@ -487,32 +487,36 @@
 rn false;%0A    %7D%0A
+    
 %0A    @Override%0A 

Update Cell.java