Package eu.semberal.migmang.logic

Examples of eu.semberal.migmang.logic.Move


            for (int i = 0; i < piecesTopLeftCorners.length; i++) {
                if (new Rectangle(topLeftBoardPosition.x + (i % 9) * squareWidth - pieceRadius,
                        topLeftBoardPosition.y + (i / 9) * squareWidth - pieceRadius,
                        2 * pieceRadius,
                        2 * pieceRadius).contains(e.getPoint())) {
                    moveContainer.setMove(new Move(movingPiece, i, movingColor));
                    movingColor = null;
                    movingPiece = -1;
                    return;
                }
            }
View Full Code Here

TOP

Related Classes of eu.semberal.migmang.logic.Move

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.