-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTetris.ctxt
49 lines (49 loc) · 2.26 KB
/
Tetris.ctxt
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
39
40
41
42
43
44
45
46
47
48
49
#BlueJ class context
comment0.params=
comment0.target=Tetris()
comment0.text=\n\ Constructor\ for\ objects\ of\ class\ Tetris\n
comment1.params=gameover
comment1.target=Tetris(boolean)
comment1.text=\n\ Constructor\ for\ Tetris\ that\ allows\ for\ immediate\ GameOver.\n\ \n\ @param\ gameover\ \ whether\ or\ not\ the\ game\ is\ over\n
comment10.params=
comment10.target=void\ play()
comment10.text=\n\ Plays\ the\ game\n
comment11.params=row
comment11.target=boolean\ isCompletedRow(int)
comment11.text=\n\ Checks\ to\ see\ if\ a\ row\ is\ completed\n\ \n\ @param\ row\ \ \ the\ row\ to\ check\n\ @return\ \ true\ if\ the\ row\ is\ completed;\ otherwise,\n\ \ \ \ \ \ \ \ \ \ false\n
comment12.params=row
comment12.target=void\ clearRow(int)
comment12.text=\n\ Clears\ a\ row\n\ \n\ @param\ row\ \ \ the\ row\ to\ check\n
comment13.params=
comment13.target=void\ clearCompletedRows()
comment13.text=\n\ Clears\ all\ the\ completed\ rows\n
comment14.params=
comment14.target=void\ gameOver()
comment14.text=\n\ Stops\ the\ game\ and\ sets\ the\ title\ to\ Game\ Over\n
comment15.params=args
comment15.target=void\ main(java.lang.String[])
comment2.params=
comment2.target=boolean\ isGameOver()
comment2.text=\n\ Whether\ or\ not\ the\ game\ is\ o\n
comment3.params=
comment3.target=void\ upPressed()
comment3.text=\n\ Rotates\ the\ active\ Tetrad\ when\ the\ up-arrow\ is\ pressed\n
comment4.params=
comment4.target=void\ downPressed()
comment4.text=\n\ Translates\ the\ block\ down\ when\ the\ down-arrow\ is\ pressed\n
comment5.params=
comment5.target=void\ spacePressed()
comment5.text=\n\ If\ the\ game\ is\ not\ over,\ It\ moves\ the\ current\ tetrad\ to\ the\ bottom.\n\ If\ the\ game\ is\ over,\ it\ restarts\ the\ game.\n
comment6.params=
comment6.target=void\ rightPressed()
comment6.text=\n\ Translates\ the\ block\ to\ the\ right\ when\ the\ right-arrow\ is\ pressed\n
comment7.params=
comment7.target=void\ leftPressed()
comment7.text=\n\ Translates\ the\ block\ to\ the\ left\ when\ the\ left-arrow\ is\ pressed\n
comment8.params=
comment8.target=void\ qPressed()
comment8.text=\n\ Rotates\ the\ block\ counterclockwise\ when\ the\ q-key\ is\ pressed\n
comment9.params=
comment9.target=void\ ePressed()
comment9.text=\n\ Rotates\ the\ block\ clockwise\ when\ the\ e-key\ is\ pressed\n
numComments=16