
package appeng.block.paint;

import java.util.Collection;
import java.util.List;

import com.google.common.collect.ImmutableList;

import appeng.helpers.Splotch;

/**
 * Used to transfer the state about paint splotches from the game thread to the
 * render thread.
 */
public class PaintSplotches {

    private final List<Splotch> splotches;

    public PaintSplotches(Collection<Splotch> splotches) {
        this.splotches = ImmutableList.copyOf(splotches);
    }

    List<Splotch> getSplotches() {
        return this.splotches;
    }

}
