mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
15 lines
231 B
Kotlin
15 lines
231 B
Kotlin
package net.torvald.terrarum.modulebasegame
|
|
|
|
import net.torvald.random.HQRNG
|
|
import java.util.*
|
|
|
|
internal interface RNGConsumer {
|
|
|
|
val RNG: HQRNG
|
|
|
|
fun loadFromSave(s0: Long, s1: Long) {
|
|
RNG.setSeed(s0, s1)
|
|
}
|
|
|
|
}
|