Skip to content

Commit 187c4db

Browse files
committed
Added GetState() in button
Made the state identifier in button accessible
1 parent fa04b81 commit 187c4db

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/studios/vanish/engine/Button.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ public enum ButtonType
2525
private boolean down = false;
2626
public FillMode FillMode = studios.vanish.engine.FillMode.Solid;
2727
Window wnd;
28+
public int GetState()
29+
{
30+
return state;
31+
}
2832
public Button(Window wnd, String text)
2933
{
3034
wnd.OnMouseMove.Add(this, "Check");

0 commit comments

Comments
 (0)