src/ru/bosony/icfpc/cells/Cell.java
author axmet
Fri, 13 Jul 2012 18:13:05 +0400
changeset 0 80446fa5641a
child 1 f83e1e778061
permissions -rw-r--r--
mine
axmet@0
     1
package ru.bosony.icfpc.cells;
axmet@0
     2
axmet@0
     3
public class Cell
axmet@0
     4
{
axmet@0
     5
	
axmet@0
     6
	private CellTypes type;
axmet@0
     7
	private char ASCII;
axmet@0
     8
	
axmet@0
     9
	public Cell(CellTypes type, char ASCII)
axmet@0
    10
	{
axmet@0
    11
		this.type = type;
axmet@0
    12
		this.ASCII = ASCII;
axmet@0
    13
	}
axmet@0
    14
	
axmet@0
    15
	public Cell(Cell cell)
axmet@0
    16
	{
axmet@0
    17
		this.type = cell.type;
axmet@0
    18
		this.ASCII = cell.ASCII;
axmet@0
    19
	}
axmet@0
    20
	
axmet@0
    21
	public CellTypes getType()
axmet@0
    22
	{
axmet@0
    23
		return type;
axmet@0
    24
	}
axmet@0
    25
	public void setType(CellTypes type)
axmet@0
    26
	{
axmet@0
    27
		this.type = type;
axmet@0
    28
	}
axmet@0
    29
	
axmet@0
    30
	public char getASCII()
axmet@0
    31
	{
axmet@0
    32
		return ASCII;
axmet@0
    33
	}
axmet@0
    34
	public void setASCII(char aSCII)
axmet@0
    35
	{
axmet@0
    36
		ASCII = aSCII;
axmet@0
    37
	}
axmet@0
    38
	
axmet@0
    39
}