1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/icfp-model/src/main/java/ru/bosony/model/mine/Cell.java Sat Jul 14 23:27:11 2012 +0400
1.3 @@ -0,0 +1,32 @@
1.4 +package ru.bosony.model.mine;
1.5 +
1.6 +import ru.bosony.model.cellscontents.CellContent;
1.7 +
1.8 +/**
1.9 + * @author indvdum (gotoindvdum[at]gmail[dot]com) <br>
1.10 + * 13.07.2012 22:10:18
1.11 + *
1.12 + */
1.13 +public class Cell {
1.14 +
1.15 + protected Coordinate coordinate;
1.16 + protected CellContent content;
1.17 +
1.18 + public Cell(Coordinate coordinate, CellContent content) {
1.19 + this.coordinate = coordinate;
1.20 + this.content = content;
1.21 + }
1.22 +
1.23 + public CellContent getContent() {
1.24 + return content;
1.25 + }
1.26 +
1.27 + public void setContent(CellContent content) {
1.28 + this.content = content;
1.29 + }
1.30 +
1.31 + public Coordinate getCoordinate() {
1.32 + return coordinate;
1.33 + }
1.34 +
1.35 +}