mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
token ring stuff wip
This commit is contained in:
@@ -178,7 +178,7 @@ open class GameWorld(
|
||||
it[Fluid.NULL] = 0
|
||||
}*/
|
||||
|
||||
val extraFields = HashMap<String, Any?>()
|
||||
val extraFields = HashMap<String, TerrarumSavegameExtrafieldSerialisable?>()
|
||||
|
||||
// NOTE: genver was here but removed: genver will be written by manually editing the serialising JSON. Reason: the 'genver' string must be found on a fixed offset on the file.
|
||||
internal var comp = -1 // only gets used when the game saves and loads
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package net.torvald.terrarum.gameworld
|
||||
|
||||
/**
|
||||
* Dummy interface, except every implementing class must have a no-arg constructor.
|
||||
*
|
||||
* Created by minjaesong on 2025-02-27.
|
||||
*/
|
||||
interface TerrarumSavegameExtrafieldSerialisable
|
||||
Reference in New Issue
Block a user