diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2023-05-25 08:34:18 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2023-05-25 08:34:18 -0400 |
commit | f89d776c40eb49992b5d65ed8cfa111328e75208 (patch) | |
tree | d380828ca6268b2332e2bfd870b5ebae31ed4467 /src/GamePlay/TButton.java | |
parent | b7c8d272d339bab3ef2772b906176cb91ceb4ff4 (diff) | |
download | NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.gz NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.tar.bz2 NPEhero-f89d776c40eb49992b5d65ed8cfa111328e75208.zip |
rename gameplay package
Diffstat (limited to 'src/GamePlay/TButton.java')
-rw-r--r-- | src/GamePlay/TButton.java | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/GamePlay/TButton.java b/src/GamePlay/TButton.java deleted file mode 100644 index a8ae338..0000000 --- a/src/GamePlay/TButton.java +++ /dev/null @@ -1,28 +0,0 @@ -//glowing block of color c (jfx node) - -package GamePlay; - -import javafx.scene.paint.Color; -import javafx.scene.shape.Rectangle; - -public class TButton extends Rectangle -{ - private Color col; - public TButton(Color c, double a, double b, int r) - { - super(); - - col = new Color(c.darker().getRed(), c.darker().getGreen(), c.darker().getBlue(), 0.45); - super.setFill(col); - super.setWidth(a); - super.setHeight(b); - super.setArcHeight(r); - super.setArcWidth(r); - super.setStroke(c); - super.setStrokeWidth(5); - } - - public Color getColor() { - return col; - } -}
\ No newline at end of file |