public void render(){
		canvas.setColor(backColor);
		canvas.fillRect(0, 0, width, height);
		
		for(SnakePart s: snake){
			s.render(canvas);
		}
		
		canvas.setColor(Color.BLACK);		
		for(int x = 0; x < wa; x++){
			canvas.drawLine(x * 10, 0, x * 10, getHeight());
		}

		for(int y = 0; y < ha; y++){
			canvas.drawLine(0, y * 10, getWidth(), y * 10);
		}
		
		apple.render(canvas);
		
		canvas.setFont(new Font("Arial", 0, 30));
		draw3DString("Score: " + snake.size(), 2, 26);
		
		if(over){
			canvas.setColor(new Color(0, 0, 0, 210));
			canvas.fillRect(0, 0, width, height);
			
			canvas.setColor(Color.RED);
			canvas.setFont(new Font("Arial", 0, 30));
			drawC3DString("GAME OVER! SCORE: " + snake.size(), Color.RED, height / 2 - 14);
			drawC3DString("Press 'r' to Restart.", Color.RED, height / 2 + 14);
		}

		if(!focus){
			canvas.setColor(new Color(0, 0, 0, 210));
			canvas.fillRect(0, 0, width, height);
			
			canvas.setFont(new Font("Arial", 1, 30));
			drawC3DString("Click Here to Play!", height / 2 + yFocOff);
			
			repaint();
		}
	}