update 30.09

This commit is contained in:
Mykola Fesenko
2025-09-30 09:05:36 +02:00
parent f9d0212017
commit c94eb0f036
17 changed files with 419 additions and 5 deletions

47
Chip.java Normal file
View File

@@ -0,0 +1,47 @@
import javafx.scene.paint.Color;
import javafx.scene.shape.Shape;
import javafx.scene.shape.Circle;
/**
*
* Beschreibung
*
* @version 1.0 vom 30.09.2025
* @author
*/
public class Chip {
public Color color;
public int relativeX;
public int relativeY;
public double absoluteX;
public double absoluteY;
public double radius;
public Circle circle;
public Chip(relX,relY,absX,absY, Color color) {
relativeX = relX;
relativeY = relY;
absoluteX = absX;
absoluteY = absY;
this.color = color;
radius = 20;
this.color = color;
circle = new Circle(absoluteX, absoluteY, radius);
circle.setFill(this.color);
}
public Shape getShape() {
return circle;
}
} // end of Chip