Package net.traviangui.model

Examples of net.traviangui.model.MapSquareType


      Ally ally = new Ally( 1365);
//      System.out.println( ally.toString());
        for( Player p : ally.getMembers()) {
            for( Village v : p.getVillages( )) {
                String villageName = v.getName().replace( "\r", "").replace( "\n", "");
                MapSquareType type = MapWorld.getMapSquare( v.getCoordX(), v.getCoordY()).getType();
                String str = String.format( "\"%s\",\"%s\",%d,%d,%s\n", p.getName(), villageName,
                        v.getCoordX(), v.getCoordY(), type.getName());
                fos.write( str);
                System.out.println( str);
            }
//            break;
      }
View Full Code Here

TOP

Related Classes of net.traviangui.model.MapSquareType

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.