mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-12 14:51:51 +09:00
15 lines
240 B
Kotlin
15 lines
240 B
Kotlin
package net.torvald.terrarum
|
|
|
|
import net.torvald.random.HQRNG
|
|
import java.util.*
|
|
|
|
internal interface RNGConsumer {
|
|
|
|
val RNG: HQRNG
|
|
|
|
fun loadFromSave(ingame: IngameInstance, s0: Long, s1: Long) {
|
|
RNG.setSeed(s0, s1)
|
|
}
|
|
|
|
}
|