package wtf.worldgen.dungeoncaves;

import java.util.Random;

import net.minecraft.util.math.BlockPos;
import wtf.utilities.wrappers.CaveListWrapper;
import wtf.worldgen.GeneratorMethods;

public abstract class DungeonAbstractSimple extends AbstractDungeonType {

	public DungeonAbstractSimple(String name) {
		super(name, 0, 0);
	}

	@Override
	public boolean canGenerateAt(GeneratorMethods gen, CaveListWrapper cave) {
		return true;
	}


	public abstract void generate(GeneratorMethods gen, Random random, BlockPos pos);
	
	@Override
	public void generateCeiling(GeneratorMethods gen, Random random, BlockPos pos, float depth) {
		generate(gen, random, pos);
	}

	@Override
	public void generateFloor(GeneratorMethods gen, Random random, BlockPos pos, float depth) {
		generate(gen, random, pos);
		
	}

	@Override
	public void generateCeilingAddons(GeneratorMethods gen, Random random, BlockPos pos, float depth) {
		//no ceiling addons
		
	}

	@Override
	public void generateFloorAddons(GeneratorMethods gen, Random random, BlockPos pos, float depth) {
		//no floor addons
		
	}

	@Override
	public void generateWall(GeneratorMethods gen, Random random, BlockPos pos, float depth, int height) {
		generate(gen, random, pos);
		
	}

}
