GameImage
description
Transcript of GameImage
GameImage
+GameImage(String, int, int)
SidePanel
ScoreListener
MainPanell
-gameImage:Image-imageWidth:int-imageHeight:int
-menuPanelSide:Jpanel-HitsLabel:Jlabel-PointsLabel:Jlabel-LivesLabel:Jlabel-BlankLabel:Jlabel-canvas:CanvasPanel-mainPanel:MainPanel-timer:Timer-lives:int-hits:int-DELAY:final int
+SidePanel(MainPanel)
-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
Canvas
+paintComponent(Graphics):void
LetterListener
+actionPerformed(ActionEvent):void
Canvas
+paintComponent(Graphics):void
KoalaListener
+actionPerformed(ActionEvent):void
KoalaListener2
+actionPerformed(ActionEvent):void
Paddle
+Paddle(int, int, Color, Color)+getHeight():int+getWidth():int+getPaddleColor():Color+getBorderColor():Color+newY(int,boolean):int+newX(int boolean):int
-height:int-width:int-PaddleColor, BorderColor: Color
PlayGame
-remove:boolean-moveX, moveY, hits, lives:int
+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
JPanel define in javax.swing
+actionPerformed(ActionEvent):void
JApplet define in javax.swing
+actionPerformed(ActionEvent):void
MainGame
+int():void
-sPane:JSplitPane-sidePanel:SidePanel-mainPanel:MainPanel