Package net.bytten.metazelda.util

Examples of net.bytten.metazelda.util.Coords.compareTo()


            if (nextRoom != null && Symbol.equals(edge.getSymbol(),
                    nextRoom.getEdge(room.id).getSymbol())) {
                // Bidirectional edge
                // avoid drawing twice:
                if (coords.compareTo(nextCoords) > 0) continue;
               
                g.drawLine((int)x1, (int)y1, (int)x2, (int)y2);
               
                double midx = (x1+x2)/2,
                       midy = (y1+y2)/2;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.