Package net.traviangui.model

Examples of net.traviangui.model.Ally


//      System.out.println( village);

 
      FileWriter fos = new FileWriter( new File( "results.csv"));
     
      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());
View Full Code Here

TOP

Related Classes of net.traviangui.model.Ally

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.