icfp-model/src/main/java/ru/bosony/model/mine/Cell.java
changeset 13 59fca1d3cb55
parent 7 251961e44b5f
child 22 a46d0179df7a
equal deleted inserted replaced
11:3ceb637cf53d 13:59fca1d3cb55
       
     1 package ru.bosony.model.mine;
       
     2 
       
     3 import ru.bosony.model.cellscontents.CellContent;
       
     4 
       
     5 /**
       
     6  * @author indvdum (gotoindvdum[at]gmail[dot]com) <br>
       
     7  *         13.07.2012 22:10:18
       
     8  * 
       
     9  */
       
    10 public class Cell {
       
    11 
       
    12 	protected Coordinate	coordinate;
       
    13 	protected CellContent	content;
       
    14 
       
    15 	public Cell(Coordinate coordinate, CellContent content) {
       
    16 		this.coordinate = coordinate;
       
    17 		this.content = content;
       
    18 	}
       
    19 
       
    20 	public CellContent getContent() {
       
    21 		return content;
       
    22 	}
       
    23 
       
    24 	public void setContent(CellContent content) {
       
    25 		this.content = content;
       
    26 	}
       
    27 
       
    28 	public Coordinate getCoordinate() {
       
    29 		return coordinate;
       
    30 	}
       
    31 
       
    32 }