Lines Matching full:sample
26 import MyGame.Sample.Color
27 import MyGame.Sample.Equipment
28 import MyGame.Sample.Monster
29 import MyGame.Sample.Vec3
30 import MyGame.Sample.Weapon
41 MyGame.Sample.Weapon.WeaponStart(builder)
42 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_one)
43 MyGame.Sample.Weapon.WeaponAddDamage(builder, 3)
44 sword = MyGame.Sample.Weapon.WeaponEnd(builder)
46 MyGame.Sample.Weapon.WeaponStart(builder)
47 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_two)
48 MyGame.Sample.Weapon.WeaponAddDamage(builder, 5)
49 axe = MyGame.Sample.Weapon.WeaponEnd(builder)
54 MyGame.Sample.Monster.MonsterStartInventoryVector(builder, 10)
60 MyGame.Sample.Monster.MonsterStartWeaponsVector(builder, 2)
66 pos = MyGame.Sample.Vec3.CreateVec3(builder, 1.0, 2.0, 3.0)
68 MyGame.Sample.Monster.MonsterStart(builder)
69 MyGame.Sample.Monster.MonsterAddPos(builder, pos)
70 MyGame.Sample.Monster.MonsterAddHp(builder, 300)
71 MyGame.Sample.Monster.MonsterAddName(builder, name)
72 MyGame.Sample.Monster.MonsterAddInventory(builder, inv)
73 MyGame.Sample.Monster.MonsterAddColor(builder,
74 MyGame.Sample.Color.Color().Red)
75 MyGame.Sample.Monster.MonsterAddWeapons(builder, weapons)
76 MyGame.Sample.Monster.MonsterAddEquippedType(
77 builder, MyGame.Sample.Equipment.Equipment().Weapon)
78 MyGame.Sample.Monster.MonsterAddEquipped(builder, axe)
79 orc = MyGame.Sample.Monster.MonsterEnd(builder)
97 monster = MyGame.Sample.Monster.Monster.GetRootAsMonster(buf, 0)
103 assert monster.Color() == MyGame.Sample.Color.Color().Red
120 assert monster.EquippedType() == MyGame.Sample.Equipment.Equipment().Weapon
125 if monster.EquippedType() == MyGame.Sample.Equipment.Equipment().Weapon:
127 # to initialize a `MyGame.Sample.Weapon.Weapon()`, in this case.
128 union_weapon = MyGame.Sample.Weapon.Weapon()