public class CellNetwork extends Object implements Serializable
Constructor and Description |
---|
CellNetwork(String content,
int row,
int column,
boolean isCell)
Create a new object to be passed throw network
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Method that returns the column of the original cell
|
String |
getContent()
Method that returns the content of the original cell
|
int |
getRow()
Method that returns the row of the original cell
|
boolean |
isCell()
Method that will say if the passed object was a cell
|
public CellNetwork(String content, int row, int column, boolean isCell)
content
- content of the cellrow
- row of the original cellcolumn
- column of the original cellisCell
- true if is a cellpublic boolean isCell()
public String getContent()
public int getRow()
public int getColumn()