code clean

This commit is contained in:
Patrick Haßel 2024-12-05 16:11:31 +01:00
parent e82307431f
commit ba182a102a

View File

@ -20,18 +20,6 @@ import static java.lang.Math.round;
@ToString(callSuper = true)
public class Light extends Part {
private static final Color COLOR_DEFECT = new Color(255, 0, 234);
private static final int MINUS_W = (int) round(0.1 * RASTER);
private static final int MINUS_H = (int) round(0.3 * RASTER);
private static final int GAP = (int) round(0.05 * RASTER);
private static final int PLUS_W = (int) round(0.02 * RASTER);
private static final int PLUS_H = (int) round(0.6 * RASTER);
private static final int BULB_RADIUS = (int) round(0.25 * RASTER);
private static final Color BULB_OFF_COLOR = Color.DARK_GRAY;