Skip to content

Instantly share code, notes, and snippets.

@junkdog
Created April 26, 2016 02:02
Show Gist options
  • Save junkdog/c8646ecefc36e364eb1fa409963326ef to your computer and use it in GitHub Desktop.
Save junkdog/c8646ecefc36e364eb1fa409963326ef to your computer and use it in GitHub Desktop.
JsonWorldSerializationManagerTest
{
"entities": {
"0": {
"archetype": 7,
"tag": "tag1",
"key": "key1",
"groups": [
"group1",
"group2"
],
"components": {
"ComponentX": {
"text": "hello"
},
"ComponentY": {
"text": "whatever"
}
}
},
"1": {
"archetype": 6,
"components": {
"ComponentX": {
"text": "hello 2"
},
"ComponentY": {
"text": "whatever 2"
},
"NameComponent": {
"name": "do i work?"
}
}
},
"2": {
"archetype": 7,
"tag": "tag3",
"key": "key3",
"groups": [
"group1"
],
"components": {
"ComponentX": {
"text": "hello 3"
},
"ComponentY": {
"text": "whatever 3"
}
}
}
},
"archetypes": {
"6": [
"ComponentX",
"ComponentY",
"ReusedComponent",
"NameComponent"
],
"7": [
"ComponentX",
"ComponentY",
"ReusedComponent"
]
},
"componentIdentifiers": {
"com.artemis.component.NameComponent": "NameComponent",
"com.artemis.component.ComponentY": "ComponentY",
"com.artemis.component.ReusedComponent": "ReusedComponent",
"com.artemis.component.ComponentX": "ComponentX"
},
"metadata": {
"version": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment