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
     1 package ru.bosony.icfpc.cells;
     2 
     3 public class Cell
     4 {
     5 	
     6 	private CellTypes type;
     7 	private char ASCII;
     8 	
     9 	public Cell(CellTypes type, char ASCII)
    10 	{
    11 		this.type = type;
    12 		this.ASCII = ASCII;
    13 	}
    14 	
    15 	public Cell(Cell cell)
    16 	{
    17 		this.type = cell.type;
    18 		this.ASCII = cell.ASCII;
    19 	}
    20 	
    21 	public CellTypes getType()
    22 	{
    23 		return type;
    24 	}
    25 	public void setType(CellTypes type)
    26 	{
    27 		this.type = type;
    28 	}
    29 	
    30 	public char getASCII()
    31 	{
    32 		return ASCII;
    33 	}
    34 	public void setASCII(char aSCII)
    35 	{
    36 		ASCII = aSCII;
    37 	}
    38 	
    39 }