package net.minecraft.src;

import java.util.ArrayList;
import java.util.Random;

class StructureStrongholdStart extends StructureStart {
	public StructureStrongholdStart(World var1, Random var2, int var3, int var4) {
		StructureStrongholdPieces.prepareStructurePieces();
		ComponentStrongholdStairs2 var5 = new ComponentStrongholdStairs2(0, var2, (var3 << 4) + 2, (var4 << 4) + 2);
		this.components.add(var5);
		var5.buildComponent(var5, this.components, var2);
		ArrayList var6 = var5.field_75026_c;

		while(!var6.isEmpty()) {
			int var7 = var2.nextInt(var6.size());
			StructureComponent var8 = (StructureComponent)var6.remove(var7);
			var8.buildComponent(var5, this.components, var2);
		}

		this.updateBoundingBox();
		this.markAvailableHeight(var1, var2, 10);
	}
}
