Package org.freerealm.map

Examples of org.freerealm.map.Direction


        }
    }

    public static Direction getDirection(Realm realm, Coordinate coordinate, Coordinate directionCoordinate) {
        for (int i = 0; i < RealmConstants.directions.length; i++) {
            Direction direction = RealmConstants.directions[i];
            Coordinate tryCoordinate = Utility.getRelativeCoordinate(realm, coordinate, direction);
            if (directionCoordinate.equals(tryCoordinate)) {
                return direction;
            }
        }
View Full Code Here

TOP

Related Classes of org.freerealm.map.Direction

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.