public void paint(Graphics g)
	{

		switch (gameState)
		{
			case GAMESTART:
				g.setColor(Color.yellow);
				g.fillRect(0,0,VWIDTH,VHEIGHT);
				g.setColor(Color.blue);
				g.setFont(font);
                g.drawString("Welcome to Catamaran!", VWIDTH/2 - 180, 100);
				g.drawString("Click to Start", VWIDTH/2 - 100, 170);
                g.setFont(fontSmall);
                g.drawString("You control Cap'n Ferdinand Longwhiskers, an especially talented pirate ", 10, 250);
                g.drawString("and commander of a crew of fiercely loyal waterskiing squirrels.", 30, 280);
                g.drawString("The Royal Navy Seadogs have found you, and it is up to you, Ferdie,", 10, 310);
                g.drawString("to make sure they can never harrass you again.", 30, 340);
                g.drawString("Pick up your treasure before the Seadogs can get to it;", 10, 370);
                g.drawString("you worked hard for that treasure!", 30, 400);
                g.drawString("Collect acorns to gather crewmembers.", 10, 430);
                g.drawString("Sink all dogs before being sunk yourself.", 10, 460);
                g.drawString("Controls:", 10, 520);
                g.drawString("Arrow Keys/WASD to move Ferdie", 30, 550);
                g.drawString("Spacebar to launch a crewmate to take down a Seadog ship", 30, 580);
                g.drawString("'R' to reset the game", 30, 610);
                g.setFont(font);
				break;

			case GAMEPLAY:
				drawBoard(g);
				break;

			case GAMEWON:
				drawBoard(g);
				g.drawString("You win!",100,100);
                g.drawString("Click to Start Next Level", VWIDTH/2 - 100, VHEIGHT/2);
				break;

			case GAMELOST:
				drawBoard(g);
				g.drawString("You lose.",100,100);
                if (acornBooties.isEmpty() && crewmembers == 0 && bullets.isEmpty())
                    g.drawString("No more squirrels :(", VWIDTH/2 - 90, VHEIGHT/2);
				break;
		}		
	}