public class Block
extends java.lang.Object
Constructor | Description |
---|---|
Block() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Character |
getColor() |
color is the color of block
|
int |
getColumn() |
column is the column of block
|
int |
getRow() |
row is the row of block
|
void |
setColor(java.lang.Character color) |
|
void |
setColumn(int column) |
|
void |
setRow(int row) |
public java.lang.Character getColor()
public void setColor(java.lang.Character color)
color
- set the coler of blockpublic int getRow()
public void setRow(int row)
row
- set the row of a blockpublic int getColumn()
public void setColumn(int column)
column
- set the row of a block