Package com.kellerkindt.scs.interfaces

Examples of com.kellerkindt.scs.interfaces.WorldProvider


   
    for (File file : dataDir.listFiles()) {
      try {
       
        Storage storage = loadXMLStorageFromFile(file);
        shops.add(ShopImporter.loadShop(storage, new WorldProvider() {
         
          @Override
          public World getWorld(String name) {
            return scs.getServer().getWorld(name);
          }
View Full Code Here


    List<Shop>  shops  = new ArrayList<Shop>();
   
    for (Storage storage :  this.storages.values()) {
     
      try {
        shops.add(ShopImporter.loadShop(storage, new WorldProvider() {
         
          @Override
          public World getWorld(String name) {
            return scs.getServer().getWorld(name);
          }
View Full Code Here

TOP

Related Classes of com.kellerkindt.scs.interfaces.WorldProvider

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.