-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConnect4Frame.ctxt
More file actions
38 lines (38 loc) · 2.35 KB
/
Connect4Frame.ctxt
File metadata and controls
38 lines (38 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#BlueJ class context
comment0.params=game\ redPlayer\ yellowPlayer
comment0.target=Connect4Frame(Connect4Game,\ Agent,\ Agent)
comment0.text=\n\ Creates\ a\ new\ Connect4Frame\ with\ a\ given\ game\ and\ pair\ of\ players.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n\ \n\ @param\ game\ the\ game\ itself.\n\ @param\ redPlayer\ the\ agent\ playing\ as\ the\ red\ tokens.\n\ @param\ yellowPlayer\ the\ agent\ playing\ as\ the\ yellow\ tokens.\n
comment1.params=e
comment1.target=void\ actionPerformed(java.awt.event.ActionEvent)
comment10.params=
comment10.target=void\ playToEndButtonPressed()
comment10.text=\n\ Reacts\ to\ the\ play\ to\ end\ button\ being\ pressed.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment11.params=
comment11.target=void\ disableButtons()
comment11.text=\n\ Disables\ the\ buttons.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment12.params=
comment12.target=void\ enableButtons()
comment12.text=\n\ Enables\ the\ buttons.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment2.params=e
comment2.target=void\ actionPerformed(java.awt.event.ActionEvent)
comment3.params=e
comment3.target=void\ actionPerformed(java.awt.event.ActionEvent)
comment4.params=text
comment4.target=void\ alert(java.lang.String)
comment4.text=\n\ Changes\ the\ text\ of\ the\ update\ label.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n\ \n\ @param\ text\ the\ next\ text\ for\ the\ update\ label.\n
comment5.params=
comment5.target=void\ nextMove()
comment5.text=\n\ Runs\ the\ next\ move\ of\ the\ game.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment6.params=
comment6.target=void\ newGame()
comment6.text=\n\ Clear\ the\ board\ and\ start\ a\ new\ game.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment7.params=
comment7.target=void\ playToEnd()
comment7.text=\n\ Runs\ the\ game\ until\ it's\ over.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment8.params=
comment8.target=void\ newGameButtonPressed()
comment8.text=\n\ Reacts\ to\ the\ new\ game\ button\ being\ pressed.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
comment9.params=
comment9.target=void\ nextMoveButtonPressed()
comment9.text=\n\ Reacts\ to\ the\ next\ move\ button\ being\ pressed.\n\ \n\ Your\ agent\ will\ not\ need\ to\ use\ this\ method.\n
numComments=13