aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Block.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/Block.java')
-rw-r--r--src/gui/Block.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/gui/Block.java b/src/gui/Block.java
deleted file mode 100644
index 42cedba..0000000
--- a/src/gui/Block.java
+++ /dev/null
@@ -1,27 +0,0 @@
-//glowing block of color c (jfx node)
-
-package gui;
-
-import javafx.scene.effect.BlurType;
-import javafx.scene.effect.DropShadow;
-import javafx.scene.paint.Color;
-import javafx.scene.shape.Rectangle;
-
-public class Block extends Rectangle
-{
- public Block(Color c, double a, double b, int r)
- {
- super();
- DropShadow dropShadow = new DropShadow();
- dropShadow.setRadius(200.0);
- dropShadow.setColor(c);
- dropShadow.setBlurType(BlurType.GAUSSIAN);
-
- super.setFill(c);
- super.setWidth(a);
- super.setHeight(b);
- super.setArcHeight(r);
- super.setArcWidth(r);
- super.setEffect(dropShadow);
- }
-} \ No newline at end of file