public Tile(int x, int y, int type) {
		this.tileX = x * 40;
		this.tileY = y * 40;
		this.type = type;
		 if (type == 5) {
	            tileImage = GameEngine.tiledirt;
	        } else if (type == 8) {
	            tileImage = GameEngine.tilegrassTop;
	        } else if (type == 4) {
	            tileImage = GameEngine.tilegrassLeft;

	        } else if (type == 6) {
	            tileImage = GameEngine.tilegrassRight;

	        } else if (type == 2) {
	            tileImage = GameEngine.tilegrassBot;
	        }
		
	}