damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

monster_step_5.fbs (240B)


      1 enum Color:byte { red, green, blue }
      2 
      3 struct Vec3 {
      4   x:float;
      5   y:float;
      6 }
      7 
      8 table Monster {
      9   pos:Vec3;
     10   color:Color = Blue;
     11 
     12   mana:short = 150;
     13   hp:short = 100;
     14   name:string;
     15   equipped:Equipment;
     16   weapons:[Weapon];
     17   path:[Vec3];
     18 }