mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
world portal: world search is now new world
This commit is contained in:
@@ -39,10 +39,12 @@ class SimpleGameWorld : GameWorld() {
|
||||
override lateinit var layerTerrain: BlockLayer
|
||||
}
|
||||
|
||||
open class GameWorld() : Disposable {
|
||||
open class GameWorld(
|
||||
val worldIndex: UUID // should not be immutable as JSON loader will want to overwrite it
|
||||
) : Disposable {
|
||||
|
||||
constructor() : this(UUID.randomUUID())
|
||||
|
||||
// var worldName: String = "New World"
|
||||
var worldIndex: UUID = UUID.randomUUID() // should not be immutable as JSON loader will want to overwrite it
|
||||
var worldCreator: UUID = UUID(0L,0L) // TODO record a value to this
|
||||
var width: Int = 999; private set
|
||||
var height: Int = 999; private set
|
||||
|
||||
Reference in New Issue
Block a user