Lines Matching refs:final
28 final builder = new fb.Builder(initialSize: 1024);
29 final int weaponOneName = builder.writeString("Sword");
30 final int weaponOneDamage = 3;
32 final int weaponTwoName = builder.writeString("Axe");
33 final int weaponTwoDamage = 5;
35 final swordBuilder = new myGame.WeaponBuilder(builder)
39 final int sword = swordBuilder.finish();
41 final axeBuilder = new myGame.WeaponBuilder(builder)
45 final int axe = axeBuilder.finish();
48 final int name = builder.writeString('Orc');
52 final List<int> treasure = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
53 final inventory = builder.writeListUint8(treasure);
54 final weapons = builder.writeList([sword, axe]);
57 final vec3Builder = new myGame.Vec3Builder(builder);
62 final int hp = 300;
63 final int mana = 150;
65 final monster = new myGame.MonsterBuilder(builder)
77 final int monsteroff = monster.finish();
78 final buffer = builder.finish(monsteroff);