Package org.spout.cereal.config

Examples of org.spout.cereal.config.MapConfiguration


  public final ConfigurationHolder TINY_VIEW_DISTANCE = new ConfigurationHolder(3, "view-distance", "tiny");
  private final String name;
  private final WorldConfiguration parent;

  public WorldConfigurationNode(WorldConfiguration parent, String worldname) {
    super(new MapConfiguration(parent.getNode("worlds", worldname).getValues()));
    this.parent = parent;
    this.name = worldname;
  }
View Full Code Here


    return this;
  }

  @Override
  public void load() throws ConfigurationException {
    this.setConfiguration(new MapConfiguration(this.getParent().getNode("worlds", this.getWorldName()).getValues()));
    super.load();
  }
View Full Code Here

TOP

Related Classes of org.spout.cereal.config.MapConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.