make some saveTiles code private

This commit is contained in:
Adam 2022-05-15 13:09:37 +02:00
parent 6eb99a841c
commit e2781e7bf2

View file

@ -81,7 +81,7 @@ private fun KStream<ServerMapChunkId, ServerMapChunkTiles<ColourHex>>.forEachChu
@Synchronized @Synchronized
fun saveTile( private fun saveTile(
filename: TilePngFilename, filename: TilePngFilename,
tileDirectory: Path, tileDirectory: Path,
img: ImmutableImage, img: ImmutableImage,
@ -106,7 +106,7 @@ fun saveTile(
@JvmInline @JvmInline
value class TilePngFilename( private value class TilePngFilename(
val value: String, val value: String,
) { ) {
constructor(id: ServerMapChunkId) : this(buildString { constructor(id: ServerMapChunkId) : this(buildString {