public void update() {
		Piece p = viewingCanvas.getNextPiece();
		if(p instanceof Corner) {
			nextPiece.setIcon(new ImageIcon("images/Corner.png"));
		} else if(p instanceof Hook_L) {
			nextPiece.setIcon(new ImageIcon("images/Hook_L.png"));
		} else if(p instanceof Hook_R) {
			nextPiece.setIcon(new ImageIcon("images/Hook_R.png"));
		} else if(p instanceof L) {
			nextPiece.setIcon(new ImageIcon("images/L.png"));
		} else if(p instanceof Line) {
			nextPiece.setIcon(new ImageIcon("images/Line.png"));
		} else if(p instanceof Square) {
			nextPiece.setIcon(new ImageIcon("images/Square.png"));
		} else if(p instanceof Squiggly) {
			nextPiece.setIcon(new ImageIcon("images/Squiggly.png"));
		} else if(p instanceof T) {
			nextPiece.setIcon(new ImageIcon("images/T.png"));
		}

		long score = viewingCanvas.getScore();
		scoreNumber.setText(String.format("%06d", score));
		if(CheatCodes.OVER9000) scoreNumber.setText("009001");
	}