-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathButton.ctxt
More file actions
17 lines (17 loc) · 740 Bytes
/
Button.ctxt
File metadata and controls
17 lines (17 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#BlueJ class context
comment0.params=
comment0.target=Button()
comment1.params=world
comment1.target=void\ addedToWorld(greenfoot.World)
comment2.params=s
comment2.target=void\ changeImg(boolean)
comment2.text=\r\n\ Changes\ the\ image\ to\ be\ selected\ or\ not\ <br>\r\n\ Pass\ true\ if\ the\ button\ is\ selected\r\n
comment3.params=b
comment3.target=void\ clicked(boolean)
comment3.text=\r\n\ Change\ the\ image\ to\ be\ clicked\ <br>\r\n\ Pass\ true\ if\ the\ button\ is\ clicked\r\n
comment4.params=
comment4.target=int[]\ setCo()
comment4.text=\r\n\ Sets\ the\ coordinates\ of\ the\ hovermenu\ <br>\r\n\ returns\ the\ X\ and\ Y\ coordinates\ to\ place\ the\ hover\ menu\r\n
comment5.params=
comment5.target=void\ act()
numComments=6