public void begin() { Image backgroundPic = getImage("background.png"); background = new VisibleImage(backgroundPic, 0, 0, canvas); Image titlePic = getImage("title.png"); title = new VisibleImage(titlePic, 0, 0, canvas); title.moveTo((canvas.getWidth() - title.getWidth()) / 2, 20); dopeBubble = getImage("dopebubble.png"); bubblePic = getImage("bubble.png"); bubble = new VisibleImage(bubblePic, 0, 0, 100, 100, canvas); bubble.moveTo((canvas.getWidth() - bubble.getWidth()) / 2, 10); bubble.sendBackward(); smallestFishPic = getImage("smallestfish.png"); angryFishPic = getImage("angryfishright.png"); angryFishL = getImage("angryfishleft.png"); secondsmallestPic = getImage("secondsmallestfish.png"); Image startButtonPic = getImage("start.png"); button = new VisibleImage(startButtonPic, 0, 0, canvas); button.moveTo( (canvas.getWidth() - button.getWidth()) / 2, ((canvas.getHeight() - button.getHeight()) / 2) - 40); Image authorPic = getImage("author.png"); author = new VisibleImage(authorPic, 0, 0, 150, 150, canvas); author.moveTo(0, canvas.getHeight() - author.getHeight()); yellowPic = getImage("yellow.png"); yellowFishPic = getImage("biggestfish.png"); yellow = new VisibleImage(yellowPic, 0, 0, 100, 100, canvas); yellow.moveTo( (canvas.getWidth() - yellow.getWidth()) / 2, ((canvas.getHeight() - yellow.getHeight()) / 2) + 90); pinkPic = getImage("pink.png"); pinkFishPic = getImage("secondbiggestfish.png"); pink = new VisibleImage(pinkPic, 0, 0, 100, 100, canvas); pink.moveTo( ((canvas.getWidth() - pink.getWidth()) / 2) - 125, ((canvas.getHeight() - pink.getHeight()) / 2) + 90); purplePic = getImage("purple.png"); purpleFishPic = getImage("middlefish.png"); purple = new VisibleImage(purplePic, 0, 0, 100, 100, canvas); purple.moveTo( ((canvas.getWidth() - purple.getWidth()) / 2) - 250, ((canvas.getHeight() - purple.getHeight()) / 2) + 90); greenPic = getImage("green.png"); greenFishPic = getImage("secondsmallestfish.png"); green = new VisibleImage(greenPic, 0, 0, 100, 100, canvas); green.moveTo( ((canvas.getWidth() - green.getWidth()) / 2) + 125, ((canvas.getHeight() - green.getHeight()) / 2) + 90); greyPic = getImage("grey.png"); greyFishPic = getImage("smallestfish.png"); grey = new VisibleImage(greyPic, 0, 0, 100, 100, canvas); grey.moveTo( ((canvas.getWidth() - grey.getWidth()) / 2) + 250, ((canvas.getHeight() - grey.getHeight()) / 2) + 90); bread = this.getAudio("breadfish.wav"); munch = this.getAudio("Bite-SoundBible.com-2056759375.wav"); gameOn = false; visible = false; fishPic = smallestFishPic; }