mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
actorvalue blob clone wip
This commit is contained in:
@@ -87,7 +87,12 @@ class ActorValue : KVHashMap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun clone(newActor: Actor): ActorValue {
|
fun clone(newActor: Actor): ActorValue {
|
||||||
return ActorValue(newActor, hashMap)
|
return ActorValue(newActor, hashMap).also {
|
||||||
|
val listOfBlobs = it.hashMap.entries.filter { (it.value as? String)?.startsWith(BLOB) ?: false }
|
||||||
|
listOfBlobs.forEach {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
// TODO clone blobs
|
// TODO clone blobs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user