mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 21:37:36 +00:00
add weapon + equipment to json example (#4114)
update json with documentation removed comments
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
059661b9ac
commit
6301da75d1
@@ -5,5 +5,21 @@
|
||||
z: 3
|
||||
},
|
||||
hp: 300,
|
||||
name: "Orc"
|
||||
name: "Orc",
|
||||
weapons:[
|
||||
{
|
||||
name: "axe",
|
||||
damage:100
|
||||
},
|
||||
{
|
||||
name: "bow",
|
||||
damage:90
|
||||
}
|
||||
],
|
||||
equipped_type: "Weapon",
|
||||
equipped:
|
||||
{
|
||||
name: "bow",
|
||||
damage:90
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user