equal
deleted
inserted
replaced
|
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 } |