mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
still wip modularisation, game somehow boots
This commit is contained in:
13
src/net/torvald/terrarum/GsonSerialisable.kt
Normal file
13
src/net/torvald/terrarum/GsonSerialisable.kt
Normal file
@@ -0,0 +1,13 @@
|
||||
package net.torvald.terrarum
|
||||
|
||||
import com.google.gson.JsonObject
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2018-05-18.
|
||||
*/
|
||||
interface GsonSerialisable {
|
||||
|
||||
fun read(gson: JsonObject)
|
||||
fun write(targetGson: JsonObject)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user