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

    struct.put("special", thing.getSpecial());
    struct.put("argument0", thing.getArgument0());
    struct.put("argument1", thing.getArgument1());
    struct.put("argument2", thing.getArgument2());
    struct.put("argument3", thing.getArgument3());
    struct.put("argument4", thing.getArgument4());

    struct.put("dormant", thing.isDormant());
    struct.put("class1", thing.appearsForClass1());
    struct.put("class2", thing.appearsForClass2());
    struct.put("class3", thing.appearsForClass3());
  }