icfp-model/src/main/java/ru/bosony/model/mine/Cell.java
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 14 Jul 2012 02:07:51 +0400
branchindvdum
changeset 7 251961e44b5f
parent 6 0dbbc8983926
child 22 a46d0179df7a
permissions -rw-r--r--
Movements and Coordinates
indvdum@6
     1
package ru.bosony.model.mine;
indvdum@6
     2
indvdum@6
     3
import ru.bosony.model.cellscontents.CellContent;
indvdum@6
     4
indvdum@6
     5
/**
indvdum@6
     6
 * @author indvdum (gotoindvdum[at]gmail[dot]com) <br>
indvdum@6
     7
 *         13.07.2012 22:10:18
indvdum@6
     8
 * 
indvdum@6
     9
 */
indvdum@6
    10
public class Cell {
indvdum@6
    11
indvdum@7
    12
	protected Coordinate	coordinate;
indvdum@6
    13
	protected CellContent	content;
indvdum@6
    14
indvdum@7
    15
	public Cell(Coordinate coordinate, CellContent content) {
indvdum@7
    16
		this.coordinate = coordinate;
indvdum@6
    17
		this.content = content;
indvdum@6
    18
	}
indvdum@6
    19
indvdum@6
    20
	public CellContent getContent() {
indvdum@6
    21
		return content;
indvdum@6
    22
	}
indvdum@6
    23
indvdum@6
    24
	public void setContent(CellContent content) {
indvdum@6
    25
		this.content = content;
indvdum@6
    26
	}
indvdum@6
    27
indvdum@7
    28
	public Coordinate getCoordinate() {
indvdum@7
    29
		return coordinate;
indvdum@6
    30
	}
indvdum@6
    31
indvdum@6
    32
}