Modifier and Type | Field and Description |
---|---|
protected java.awt.Color |
fillcolor |
protected boolean |
isAnti |
protected boolean |
isCenter |
protected boolean |
isSelected |
protected int |
labelLetters |
protected java.awt.Color |
linecolor |
Modifier | Constructor and Description |
---|---|
protected |
TileImpl(int newX,
int j) |
|
TileImpl(int x,
int y,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
int |
getLabelLetters() |
java.awt.Color |
getLinecolor() |
boolean |
isAnti() |
boolean |
isCenter() |
boolean |
isInTile(int coordX,
int coordY) |
boolean |
isSelected() |
void |
paintComponent(java.awt.Graphics g) |
void |
setAnti(boolean b) |
void |
setCenter(boolean setCenter) |
void |
setColor(java.awt.Color color) |
void |
setLabelLetters(int labelLetters) |
void |
setLineColor(java.awt.Color linecolor) |
void |
setSelected(boolean isSelected) |
protected java.awt.Color fillcolor
protected java.awt.Color linecolor
protected boolean isSelected
protected boolean isCenter
protected boolean isAnti
protected int labelLetters
protected TileImpl(int newX, int j)
public TileImpl(int x, int y, int width, int height)
public void paintComponent(java.awt.Graphics g)
paintComponent
in interface Tile
public boolean isInTile(int coordX, int coordY)
public java.awt.Color getColor()
public java.awt.Color getLinecolor()
public void setLineColor(java.awt.Color linecolor)
setLineColor
in interface Tile
public boolean isSelected()
isSelected
in interface Tile
public void setSelected(boolean isSelected)
setSelected
in interface Tile
public boolean isCenter()
public boolean isAnti()
public int getLabelLetters()
public void setLabelLetters(int labelLetters)
setLabelLetters
in interface Tile