icfp-model/src/main/java/ru/bosony/model/mine/Cell.java
branchindvdum
changeset 6 0dbbc8983926
child 7 251961e44b5f
     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 00:36:43 2012 +0400
     1.3 @@ -0,0 +1,38 @@
     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 int			x;
    1.16 +	protected int			y;
    1.17 +	protected CellContent	content;
    1.18 +
    1.19 +	public Cell(int x, int y, CellContent content) {
    1.20 +		this.x = x;
    1.21 +		this.y = y;
    1.22 +		this.content = content;
    1.23 +	}
    1.24 +
    1.25 +	public CellContent getContent() {
    1.26 +		return content;
    1.27 +	}
    1.28 +
    1.29 +	public void setContent(CellContent content) {
    1.30 +		this.content = content;
    1.31 +	}
    1.32 +
    1.33 +	public int getX() {
    1.34 +		return x;
    1.35 +	}
    1.36 +
    1.37 +	public int getY() {
    1.38 +		return y;
    1.39 +	}
    1.40 +
    1.41 +}