equal
deleted
inserted
replaced
|
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 } |