📄 breakout.ctxt
字号:
#BlueJ class context
comment0.target=class\ Breakout
comment1.target=quitItem
comment10.target=fileMenu
comment11.target=canvas
comment12.params=e
comment12.target=void\ mouseDragged(MouseEvent)
comment13.target=paddleHeight
comment14.params=e
comment14.target=void\ mouseMoved(MouseEvent)
comment14.text=\nMove\ the\ Paddle\ as\ the\ Mouse\ moves\n\n
comment15.target=brickWidth
comment16.target=key
comment17.params=
comment17.target=void\ checkBrick()
comment17.text=\nChecking\ the\ ball\ position\ against\ all\ of\ the\ bricks.\n\n
comment18.target=brick
comment19.target=levels
comment2.target=pauseTime
comment20.target=paddle
comment21.target=ballLeftover
comment22.params=e
comment22.target=void\ actionPerformed(ActionEvent)
comment22.text=\nRespond\ to\ a\ button\ click\nDo\ not\ perform\ any\ actions\ directly\ in\nthis\ method.\ \ Instead,\ invoke\ a\ new\ thread\ so\ this\nmethod\ will\ return\ immediately.\n\n
comment23.params=
comment23.target=void\ run()
comment23.text=\nA\ new\ round\ is\ started\ and\ runs\ in\ a\ separate\ thread.\nNo\ need\ to\ change\ this\ method.\n\n
comment24.target=hits
comment25.params=
comment25.target=GOval\ Ball()
comment25.text=\nCreating\ and\ return\ a\ new\ ball.\n\n
comment26.params=
comment26.target=void\ checkWall()
comment26.text=\nChecking\ the\ ball\ position\ against\ wall\ position.\n\n
comment27.params=
comment27.target=void\ playRound()
comment27.text=\nSet\ the\ ball\ in\ play\ until\ the\ player\ misses\ or\ the\ngame\ is\ over.\n\n
comment28.target=menus
comment28.text=menu\ items\ \n
comment29.target=ballAmountsS
comment3.params=msecs
comment3.target=void\ pause(int)
comment3.text=\nThis\ will\ pause\ the\ current\ thread\ the\ provided\nnumber\ of\ milliseconds.\nNo\ need\ to\ change\ this\ method.\n\n
comment30.params=
comment30.target=void\ gameLayout()
comment30.text=\nCreating\ the\ initial\ game\ layout.\n\n
comment31.target=restartItem
comment32.target=ball
comment33.target=HEIGHT
comment34.target=paddleWidth
comment35.target=ballAmounts
comment36.params=
comment36.target=Breakout()
comment36.text=\nSets\ up\ the\ game\ like\ usual.\n\n
comment37.target=paddleWidthS
comment38.target=brickHeight
comment39.params=
comment39.target=boolean\ isBallPlay()
comment39.text=\nReturning\ a\ boolean\ true\ if\ the\ ball\ is\ still\ in\ play;\nreturn\ false\ if\ the\ ball\ moves\ past\ the\ paddle.\n\n
comment4.target=dy
comment40.params=
comment40.target=void\ checkPaddle()
comment40.text=\nChecking\ the\ ball\ position\ against\ paddle\ position.\n\n
comment41.target=myChoice
comment5.target=dx
comment6.target=myGUI
comment6.text=JFrame\ holds\ the\ game\ \n
comment7.target=WIDTH
comment8.target=serveButton
comment8.text=GUI\ button\ to\ serve\ each\ ball\ \n
comment9.target=ballWidth
numComments=42
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -