PlayerLastStatus on world save

This commit is contained in:
minjaesong
2021-10-10 17:39:19 +09:00
parent f3c56f5d47
commit 3ca95e138d
4 changed files with 19 additions and 14 deletions

View File

@@ -16,9 +16,6 @@ import net.torvald.terrarum.utils.*
import net.torvald.util.SortedArrayList
import org.dyn4j.geometry.Vector2
import java.util.*
import kotlin.NoSuchElementException
import kotlin.collections.ArrayList
import kotlin.collections.HashMap
import kotlin.math.absoluteValue
typealias BlockAddress = Long
@@ -51,7 +48,7 @@ open class GameWorld() : Disposable {
var width: Int = 999; private set
var height: Int = 999; private set
var playersLastStatus = PlayersLastPhysics() // only gets used when the game saves and loads
var playersLastStatus = PlayersLastStatus() // only gets used when the game saves and loads
/** Creation time for this world, NOT the entire savegame */
internal var creationTime: Long = App.getTIME_T()