icfp-model/src/main/java/ru/bosony/model/mine/Cell.java
author indvdum (gotoindvdum[at]gmail[dot]com)
Sat, 14 Jul 2012 00:36:43 +0400
branchindvdum
changeset 6 0dbbc8983926
child 7 251961e44b5f
permissions -rw-r--r--
Parsing Mine from string
     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 int			x;
    13 	protected int			y;
    14 	protected CellContent	content;
    15 
    16 	public Cell(int x, int y, CellContent content) {
    17 		this.x = x;
    18 		this.y = y;
    19 		this.content = content;
    20 	}
    21 
    22 	public CellContent getContent() {
    23 		return content;
    24 	}
    25 
    26 	public void setContent(CellContent content) {
    27 		this.content = content;
    28 	}
    29 
    30 	public int getX() {
    31 		return x;
    32 	}
    33 
    34 	public int getY() {
    35 		return y;
    36 	}
    37 
    38 }