Examples of SudokuPersist


Examples of cnam.nsy208.sudoku.persistance.SudokuPersist

    /**
     * Enregistre le score du joueur dans un fichier
     */
    public void saveArcadeScore() {
        int score = ((int) this.getEndArcadeTime() - (int) this.getStartAcardeTime())/ 1000;
        _persist = new SudokuPersist(_diff);
        _rank = new Ranking();
        if (_persist.find()!=null)
            _rank = _persist.find();
        this.setRank(_rank);
        this.addPlayer(_rank.getNbPlayer() + 1, _logView.getField().getString(), score);
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.