Constructor and Description |
---|
Cell(int x,
int y) |
Cell(TextGrid.Cell cell) |
Modifier and Type | Method and 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() |
public Cell(TextGrid.Cell cell)
public Cell(int x, int y)
public TextGrid.Cell getNorth()
public TextGrid.Cell getSouth()
public TextGrid.Cell getEast()
public TextGrid.Cell getWest()
public TextGrid.Cell getNW()
public TextGrid.Cell getNE()
public TextGrid.Cell getSW()
public TextGrid.Cell getSE()
public CellSet getNeighbours4()
public CellSet getNeighbours8()
public boolean isNorthOf(TextGrid.Cell cell)
public boolean isSouthOf(TextGrid.Cell cell)
public boolean isWestOf(TextGrid.Cell cell)
public boolean isEastOf(TextGrid.Cell cell)
public boolean isNextTo(int x2, int y2)
public boolean isNextTo(TextGrid.Cell cell)
public void scale(int s)
Copyright © 2017. All Rights Reserved.