31 lines
502 B
Java
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;
|
|
}
|
|
|
|
}
|