diff options
author | Aidan Ross <aross02@fairport.org> | 2023-05-25 10:27:55 -0400 |
---|---|---|
committer | Aidan Ross <aross02@fairport.org> | 2023-05-25 10:27:55 -0400 |
commit | 414d5128c379916a50a015210e6d7caced1825f5 (patch) | |
tree | ec0db6e4c2dfa9067ea330b4bdbfeafda94f0851 /src/GamePlay/TButton.java | |
parent | 389520ddc5064c21dcb0e9317366078ce1c88b65 (diff) | |
parent | 1d0890cf11f88e274beddf9fbc132fb80c2f054c (diff) | |
download | NPEhero-414d5128c379916a50a015210e6d7caced1825f5.tar.gz NPEhero-414d5128c379916a50a015210e6d7caced1825f5.tar.bz2 NPEhero-414d5128c379916a50a015210e6d7caced1825f5.zip |
Merge branch 'main' of https://gitlab.sowgro.net/guitarheros/guitarhero
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 |