public void mousePressed(MouseEvent event) {
			double x = event.getX() + cam.getX();
			double y = event.getY() + cam.getY();
			int xPos = (int) (x / Cell.CELL_WIDTH);
			int yPos = (int) (y / Cell.CELL_HEIGHT);
			if (xPos > 0 && xPos < theMap.getHeight() && yPos > 0 && yPos < theMap.getWidth()&&theMap.getCrayons()>0){
				xorigin = xPos;
				yorigin = yPos;
				theMap.setCell(yPos, xPos, new DrawnWall(xPos * Cell.CELL_WIDTH, yPos * Cell.CELL_HEIGHT,2000,theMap));
				theMap.setBlueCrayon(-1);
			}
			
		}