Package corners_core.CornersGame

Examples of corners_core.CornersGame.GameStatus


    private void drawingPanelComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_drawingPanelComponentResized
        cornersGame.Redraw();
    }//GEN-LAST:event_drawingPanelComponentResized

    private void drawingPanelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_drawingPanelMouseClicked
        GameStatus status = cornersGame.getGameStatus();
        if(status == GameStatus.gsPLAYER1_WIN)
            System.out.println("Вы выйграли!!!");
        else if(status == GameStatus.gsPLAYER2_WIN)
            System.out.println("Вы проиграли(((");
        if(status != GameStatus.gsPROCESS)
View Full Code Here

TOP

Related Classes of corners_core.CornersGame.GameStatus

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.