package com.dfsek.terra.addons.noise.config;

import com.dfsek.tectonic.annotations.Value;
import com.dfsek.tectonic.loading.object.ObjectTemplate;
import com.dfsek.terra.api.config.meta.Meta;
import com.dfsek.terra.api.noise.NoiseSampler;

public class DimensionApplicableNoiseSampler implements ObjectTemplate<DimensionApplicableNoiseSampler> {
    @Value("dimensions")
    private @Meta int dimensions;

    @Value(".")
    private @Meta NoiseSampler sampler;

    public int getDimensions() {
        return dimensions;
    }

    public NoiseSampler getSampler() {
        return sampler;
    }

    @Override
    public DimensionApplicableNoiseSampler get() {
        return this;
    }
}
