Esempio n. 1
0
  @Override
  public void getThingAttribs(UDMFStruct struct, Thing thing) {
    super.getThingAttribs(struct, thing);

    thing.setSpecial(struct.getInt("special"));
    thing.setArgument0(struct.getInt("argument0"));
    thing.setArgument1(struct.getInt("argument1"));
    thing.setArgument2(struct.getInt("argument2"));
    thing.setArgument3(struct.getInt("argument3"));
    thing.setArgument4(struct.getInt("argument4"));

    thing.setDormant(struct.getBoolean("dormant"));
    thing.setClass1(struct.getBoolean("class1"));
    thing.setClass2(struct.getBoolean("class2"));
    thing.setClass3(struct.getBoolean("class3"));
  }