public void load (BufferedReader reader) throws IOException { super.load(reader); // For backwards compatibility, independent property may not be defined reader.mark(100); String line = reader.readLine(); if (line == null) throw new IOException("Missing value: " + "independent"); if (line.contains("independent")) independent = Boolean.parseBoolean(readString(line)); else reader.reset(); }
public void load (BufferedReader reader) throws IOException { super.load(reader); // For backwards compatibility, independent property may not be defined reader.mark(100); String line = reader.readLine(); if (line == null) throw new IOException("Missing value: " + "independent"); if (line.contains("independent")) independent = Boolean.parseBoolean(readString(line)); else reader.reset(); }
setMaxParticleCount(readInt(reader, "maxParticleCount")); reader.readLine(); emissionValue.load(reader); reader.readLine(); lifeValue.load(reader); spawnShapeValue.load(reader); reader.readLine(); spawnWidthValue.load(reader); reader.readLine(); spawnHeightValue.load(reader); String line = reader.readLine(); if (line.trim().equals("- Scale -")) { xScaleValue.load(reader); yScaleValue.setActive(false); } else { xScaleValue.load(reader); reader.readLine(); yScaleValue.load(reader); velocityValue.load(reader); reader.readLine(); angleValue.load(reader); reader.readLine(); rotationValue.load(reader); reader.readLine(); windValue.load(reader); reader.readLine(); gravityValue.load(reader);
setMaxParticleCount(readInt(reader, "maxParticleCount")); reader.readLine(); emissionValue.load(reader); reader.readLine(); lifeValue.load(reader); spawnShapeValue.load(reader); reader.readLine(); spawnWidthValue.load(reader); reader.readLine(); spawnHeightValue.load(reader); String line = reader.readLine(); if (line.trim().equals("- Scale -")) { xScaleValue.load(reader); yScaleValue.setActive(false); } else { xScaleValue.load(reader); reader.readLine(); yScaleValue.load(reader); velocityValue.load(reader); reader.readLine(); angleValue.load(reader); reader.readLine(); rotationValue.load(reader); reader.readLine(); windValue.load(reader); reader.readLine(); gravityValue.load(reader);
delayValue.load(emitter.delayValue); durationValue.load(emitter.durationValue); emissionValue.load(emitter.emissionValue); lifeValue.load(emitter.lifeValue); lifeOffsetValue.load(emitter.lifeOffsetValue); xScaleValue.load(emitter.xScaleValue); yScaleValue.load(emitter.yScaleValue); rotationValue.load(emitter.rotationValue); velocityValue.load(emitter.velocityValue); angleValue.load(emitter.angleValue); windValue.load(emitter.windValue); gravityValue.load(emitter.gravityValue); transparencyValue.load(emitter.transparencyValue); tintValue.load(emitter.tintValue); xOffsetValue.load(emitter.xOffsetValue); yOffsetValue.load(emitter.yOffsetValue); spawnWidthValue.load(emitter.spawnWidthValue); spawnHeightValue.load(emitter.spawnHeightValue); spawnShapeValue.load(emitter.spawnShapeValue); attached = emitter.attached;
public void load (IndependentScaledNumericValue value) { super.load(value); independent = value.independent; } }
public void load (BufferedReader reader) throws IOException { super.load(reader); // For backwards compatibility, independent property may not be defined reader.mark(100); String line = reader.readLine(); if (line == null) throw new IOException("Missing value: " + "independent"); if (line.contains("independent")) independent = Boolean.parseBoolean(readString(line)); else reader.reset(); }
setMaxParticleCount(readInt(reader, "maxParticleCount")); reader.readLine(); emissionValue.load(reader); reader.readLine(); lifeValue.load(reader); spawnShapeValue.load(reader); reader.readLine(); spawnWidthValue.load(reader); reader.readLine(); spawnHeightValue.load(reader); String line = reader.readLine(); if (line.trim().equals("- Scale -")) { xScaleValue.load(reader); yScaleValue.setActive(false); } else { xScaleValue.load(reader); reader.readLine(); yScaleValue.load(reader); velocityValue.load(reader); reader.readLine(); angleValue.load(reader); reader.readLine(); rotationValue.load(reader); reader.readLine(); windValue.load(reader); reader.readLine(); gravityValue.load(reader);
delayValue.load(emitter.delayValue); durationValue.load(emitter.durationValue); emissionValue.load(emitter.emissionValue); lifeValue.load(emitter.lifeValue); lifeOffsetValue.load(emitter.lifeOffsetValue); xScaleValue.load(emitter.xScaleValue); yScaleValue.load(emitter.yScaleValue); rotationValue.load(emitter.rotationValue); velocityValue.load(emitter.velocityValue); angleValue.load(emitter.angleValue); windValue.load(emitter.windValue); gravityValue.load(emitter.gravityValue); transparencyValue.load(emitter.transparencyValue); tintValue.load(emitter.tintValue); xOffsetValue.load(emitter.xOffsetValue); yOffsetValue.load(emitter.yOffsetValue); spawnWidthValue.load(emitter.spawnWidthValue); spawnHeightValue.load(emitter.spawnHeightValue); spawnShapeValue.load(emitter.spawnShapeValue); attached = emitter.attached;
delayValue.load(emitter.delayValue); durationValue.load(emitter.durationValue); emissionValue.load(emitter.emissionValue); lifeValue.load(emitter.lifeValue); lifeOffsetValue.load(emitter.lifeOffsetValue); xScaleValue.load(emitter.xScaleValue); yScaleValue.load(emitter.yScaleValue); rotationValue.load(emitter.rotationValue); velocityValue.load(emitter.velocityValue); angleValue.load(emitter.angleValue); windValue.load(emitter.windValue); gravityValue.load(emitter.gravityValue); transparencyValue.load(emitter.transparencyValue); tintValue.load(emitter.tintValue); xOffsetValue.load(emitter.xOffsetValue); yOffsetValue.load(emitter.yOffsetValue); spawnWidthValue.load(emitter.spawnWidthValue); spawnHeightValue.load(emitter.spawnHeightValue); spawnShapeValue.load(emitter.spawnShapeValue); attached = emitter.attached;
public void load (IndependentScaledNumericValue value) { super.load(value); independent = value.independent; } }
public void load (IndependentScaledNumericValue value) { super.load(value); independent = value.independent; } }