1 / 1

GameImage

PlayGame. LetterListener. Paddle. - remove:boolean - moveX , moveY , hits, lives:int. - height:int - width:int - PaddleColor , BorderColor : Color. + actionPerformed ( ActionEvent ):void. + PlayGame ( int , int , int , int ) + getHits (): int + getLives (): int + addHit ():void

cais
Download Presentation

GameImage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PlayGame LetterListener Paddle -remove:boolean -moveX, moveY, hits, lives:int -height:int -width:int -PaddleColor, BorderColor: Color +actionPerformed(ActionEvent):void +PlayGame(int, int, int, int) +getHits():int +getLives():int +addHit():void +nextLife():void +getRemove():boolean +setRemove(boolean):void +getMoveX():int +getMoveY():int +setMoveX():void +setMoveY():void Canvas +Paddle(int, int, Color, Color) +getHeight():int +getWidth():int +getPaddleColor():Color +getBorderColor():Color +newY(int,boolean):int +newX(intboolean):int +paintComponent(Graphics):void KoalaListener +actionPerformed(ActionEvent):void GameImage KoalaListener2 -gameImage:Image -imageWidth:int -imageHeight:int +actionPerformed(ActionEvent):void +GameImage(String, int, int) MainGame JPanel define in javax.swing -sPane:JSplitPane -sidePanel:SidePanel -mainPanel:MainPanel MainPanell -playGame:PlayGame -background, koala1:GameImage -tpad,bpad,lpad,rpad: Paddle -canvas:CanvasPanel -pointList, PadPtList:ArrayList -tempPoint, pt: Point -timer,timer2:Timer -LoseLife:boolean -FloorWalls,SideWalls,x,y: int -DELAY, DELAY2, DIAMETER: final int -PAD_MAX,PAD_MIN,MOVE_PAD: final int +MainPanel(Vector,SelectPanel) +getHits():int +getLives():int +GenerateRandCoor(int,int):Point +GenerateRandInt(int):int +getPadList():void +actionPerformed(ActionEvent):void +int():void SidePanel JApplet define in javax.swing -menuPanelSide:Jpanel -HitsLabel:Jlabel -PointsLabel:Jlabel -LivesLabel:Jlabel -BlankLabel:Jlabel -canvas:CanvasPanel -mainPanel:MainPanel -timer:Timer -lives:int -hits:int -DELAY:finalint +SidePanel(MainPanel) +actionPerformed(ActionEvent):void ScoreListener +actionPerformed(ActionEvent):void Canvas +paintComponent(Graphics):void

More Related