1// automatically generated by the FlatBuffers compiler, do not modify
2
3package MyGame.Example2;
4
5import java.nio.*;
6import java.lang.*;
7import java.util.*;
8import com.google.flatbuffers.*;
9
10@SuppressWarnings("unused")
11public final class Monster extends Table {
12  public static Monster getRootAsMonster(ByteBuffer _bb) { return getRootAsMonster(_bb, new Monster()); }
13  public static Monster getRootAsMonster(ByteBuffer _bb, Monster obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
14  public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
15  public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
16
17
18  public static void startMonster(FlatBufferBuilder builder) { builder.startObject(0); }
19  public static int endMonster(FlatBufferBuilder builder) {
20    int o = builder.endObject();
21    return o;
22  }
23}
24
25