mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
new load wip
This commit is contained in:
@@ -30,7 +30,7 @@ import java.util.concurrent.locks.Lock
|
||||
* Although the game (as product) can have infinitely many stages/planets/etc., those stages must be manually managed by YOU;
|
||||
* this instance only stores the stage that is currently being used.
|
||||
*/
|
||||
open class IngameInstance(val batch: SpriteBatch) : Screen {
|
||||
open class IngameInstance(val batch: SpriteBatch, val isMultiplayer: Boolean = false) : Screen {
|
||||
|
||||
open protected val actorMBRConverter = object : MBRConverter<ActorWithBody> {
|
||||
override fun getDimensions(): Int = 2
|
||||
@@ -127,10 +127,6 @@ open class IngameInstance(val batch: SpriteBatch) : Screen {
|
||||
|
||||
val modifiedChunks = Array(16) { TreeSet<Int>() }
|
||||
|
||||
internal var creationTime = App.getTIME_T() // cumulative value for the savegame
|
||||
internal var lastPlayTime = App.getTIME_T() // cumulative value for the savegame
|
||||
internal var totalPlayTime = 0L // cumulative value for the savegame
|
||||
|
||||
var loadedTime_t = App.getTIME_T()
|
||||
protected set
|
||||
|
||||
|
||||
Reference in New Issue
Block a user