Package transientlibs.objects.primitives

Examples of transientlibs.objects.primitives.Coords


    public static Coords getCurrentMapCentre() {
        int y = currentMap.sizeY / 2;
        int x = currentMap.sizeX / 2;
        //Coords ret = new Coords(Double.parseDouble(Integer.toString(x)), Double.parseDouble(Integer.toString(y)));
        Coords ret = new Coords(Float.parseFloat(Integer.toString(x)), Float.parseFloat(Integer.toString(y)));
        return ret;
    }
View Full Code Here

TOP

Related Classes of transientlibs.objects.primitives.Coords

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.