Class TextGrid.Cell
- java.lang.Object
-
- org.stathissideris.ascii2image.text.TextGrid.Cell
-
-
Constructor Summary
Constructors Constructor Description Cell(int x, int y)
Cell(TextGrid.Cell cell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
TextGrid.Cell
getEast()
TextGrid.Cell
getNE()
CellSet
getNeighbours4()
CellSet
getNeighbours8()
TextGrid.Cell
getNorth()
TextGrid.Cell
getNW()
TextGrid.Cell
getSE()
TextGrid.Cell
getSouth()
TextGrid.Cell
getSW()
TextGrid.Cell
getWest()
int
hashCode()
boolean
isEastOf(TextGrid.Cell cell)
boolean
isNextTo(int x2, int y2)
boolean
isNextTo(TextGrid.Cell cell)
boolean
isNorthOf(TextGrid.Cell cell)
boolean
isSouthOf(TextGrid.Cell cell)
boolean
isWestOf(TextGrid.Cell cell)
void
scale(int s)
String
toString()
-
-
-
Constructor Detail
-
Cell
public Cell(TextGrid.Cell cell)
-
Cell
public Cell(int x, int y)
-
-
Method Detail
-
getNorth
public TextGrid.Cell getNorth()
-
getSouth
public TextGrid.Cell getSouth()
-
getEast
public TextGrid.Cell getEast()
-
getWest
public TextGrid.Cell getWest()
-
getNW
public TextGrid.Cell getNW()
-
getNE
public TextGrid.Cell getNE()
-
getSW
public TextGrid.Cell getSW()
-
getSE
public TextGrid.Cell getSE()
-
getNeighbours4
public CellSet getNeighbours4()
-
getNeighbours8
public CellSet getNeighbours8()
-
isNorthOf
public boolean isNorthOf(TextGrid.Cell cell)
-
isSouthOf
public boolean isSouthOf(TextGrid.Cell cell)
-
isWestOf
public boolean isWestOf(TextGrid.Cell cell)
-
isEastOf
public boolean isEastOf(TextGrid.Cell cell)
-
isNextTo
public boolean isNextTo(int x2, int y2)
-
isNextTo
public boolean isNextTo(TextGrid.Cell cell)
-
scale
public void scale(int s)
-
-