src/ru/bosony/icfpc/cells/Cell.java
changeset 0 80446fa5641a
child 1 f83e1e778061
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ru/bosony/icfpc/cells/Cell.java	Fri Jul 13 18:13:05 2012 +0400
     1.3 @@ -0,0 +1,39 @@
     1.4 +package ru.bosony.icfpc.cells;
     1.5 +
     1.6 +public class Cell
     1.7 +{
     1.8 +	
     1.9 +	private CellTypes type;
    1.10 +	private char ASCII;
    1.11 +	
    1.12 +	public Cell(CellTypes type, char ASCII)
    1.13 +	{
    1.14 +		this.type = type;
    1.15 +		this.ASCII = ASCII;
    1.16 +	}
    1.17 +	
    1.18 +	public Cell(Cell cell)
    1.19 +	{
    1.20 +		this.type = cell.type;
    1.21 +		this.ASCII = cell.ASCII;
    1.22 +	}
    1.23 +	
    1.24 +	public CellTypes getType()
    1.25 +	{
    1.26 +		return type;
    1.27 +	}
    1.28 +	public void setType(CellTypes type)
    1.29 +	{
    1.30 +		this.type = type;
    1.31 +	}
    1.32 +	
    1.33 +	public char getASCII()
    1.34 +	{
    1.35 +		return ASCII;
    1.36 +	}
    1.37 +	public void setASCII(char aSCII)
    1.38 +	{
    1.39 +		ASCII = aSCII;
    1.40 +	}
    1.41 +	
    1.42 +}