Applied-Energistics-2-tiler.../src/main/java/appeng/block/paint/PaintSplotches.java
2016-10-15 11:50:55 +02:00

31 lines
502 B
Java

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.
*/
class PaintSplotches
{
private final List<Splotch> splotches;
PaintSplotches( Collection<Splotch> splotches )
{
this.splotches = ImmutableList.copyOf( splotches );
}
List<Splotch> getSplotches()
{
return splotches;
}
}