public void drawBlock(Graphics g) {
		workInts();
		if(ChangesMap){
			if(Engine.editMode){
				IMG_TO_DRAW = ImageFileHandler.TerrainHigher;
				g.drawImage(IMG_TO_DRAW, finalx + Engine.cam.x,
						finaly + Engine.cam.y, finalx + finalw
								+ Engine.cam.x, finaly + finalh
								+ Engine.cam.y, imgx, imgy,
						imgx2, imgy2, null);
			}
		}
		if (!isInvisible) {
			if (finalx + Engine.cam.x >= -Block.finalw) {
				if (finalx + Engine.cam.x <= def.Frame.WIDTH) {
					if (finaly + Engine.cam.y >= -Block.finalh) {
						if (finaly + Engine.cam.y <= def.Frame.HEIGHT) {
							if (l == Engine.mb.MOBS[0].Layer) {
								IMG_TO_DRAW = ImageFileHandler.TerrainHigher;
								g.drawImage(IMG_TO_DRAW, finalx + Engine.cam.x,
										finaly + Engine.cam.y, finalx + finalw
												+ Engine.cam.x, finaly + finalh
												+ Engine.cam.y, imgx, imgy,
										imgx2, imgy2, null);
							}
							if (l == Engine.mb.MOBS[0].Layer - 1) {
								isIntersectedByMouse = false;
							}
							if (l == Engine.mb.MOBS[0].Layer - 1) {
								IMG_TO_DRAW = ImageFileHandler.TerrainLower;
								g.drawImage(IMG_TO_DRAW, finalx + Engine.cam.x,
										finaly + Engine.cam.y, finalx + finalw
												+ Engine.cam.x, finaly + finalh
												+ Engine.cam.y, imgx, imgy,
										imgx2, imgy2, null);
							}
						}
					}
				}
			}
		}
	}