de.fhkiel.ki.cathedral.gui.Cell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cathedral-game Show documentation
Show all versions of cathedral-game Show documentation
A cathedral implementation in Java
The newest version!
package de.fhkiel.ki.cathedral.gui;
import java.awt.Color;
import java.awt.Point;
import javax.swing.JLabel;
class Cell {
final JLabel label;
final Point position;
final Color base;
public Cell(JLabel label, Point position) {
this.label = label;
this.position = position;
this.base = null;
}
public Cell(JLabel label, Point position, Color base) {
this.label = label;
this.position = position;
this.base = base;
}
}