Files
muehle/Chip.~ava
Mykola Fesenko c94eb0f036 update 30.09
2025-09-30 09:05:36 +02:00

46 lines
721 B
Plaintext

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;
circle = new Circle(absoluteX,absoluteY,radius);
}
public Shape getShape() {
return circle;
}
} // end of Chip