亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pgnplyfragment.java

?? chess 一個(gè)beguanyu國際象棋的一個(gè)Java源碼
?? JAVA
字號(hào):
/*  PGNPlyFragment - A class to store information fragments on a ply.  Copyright (C) 2003 The Java-Chess team <info@java-chess.de>  This program is free software; you can redistribute it and/or  modify it under the terms of the GNU General Public License  as published by the Free Software Foundation; either version 2  of the License, or (at your option) any later version.  This program is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU General Public License for more details.  You should have received a copy of the GNU General Public License  along with this program; if not, write to the Free Software  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.*/   package de.java_chess.javaChess.pgn;import de.java_chess.javaChess.piece.*;import de.java_chess.javaChess.position.*;/** * This class stores information fragments on a ply, like they * are found in a PGN file, where piece type or originating square * are sometimes missing. */public class PGNPlyFragment {    // Instance variables    /**     * The type of the piece.     */    private byte _pieceType = -1;    /**     * Origin.     */    private Position _origin = null;    /**     * Destination.     */    private Position _destination = null;    /**     * Flag to indicate, if it is a capture.     */    boolean _capture = false;    /**     * Flag to indicate, if this ply is a castling.     */    private boolean _castling = false;    /**     * Flag to indicate, if the castling goes to the left.     */    private boolean _leftCastling;    /**     * Flag to indicate, if it is a pawn promotion.     */    private boolean _pawnPromotion = false;    /**     * If it is a pawn promotion, this is the type of the new piece.     */    private byte _newPieceType = -1;        // Constructors    // Methods    /**     * Set the piece type from a figurine letter code.     *     * @param letter The figurine letter code.     */    public final void setPieceTypeFromLetter( char letter) {	setPieceType( getPieceTypeFromLetter( letter));    }    /**     * Get the current origin of this ply.     *     * @return The currently known origin of this ply.     */    public final Position getOrigin() {	return _origin;    }    /**     * Set the name of the origin square.     *     * @param squareName The name of the origin square.     */    public final void setOrigin( String squareName) {	// Create a new position implementation from the name and store it.	_origin = new PositionImpl( squareName);    }    /**     * Set the name of the origin square.     *     * @param position The position of the origin square.     */    public final void setOrigin( Position position) {	// Store the position.	_origin = position;    }    /**     * Get the current destination of this ply.     *     * @return The currently known destination of this ply.     */    public final Position getDestination() {	return _destination;    }    /**     * Set the name of the destination square.     *     * @param squareName The name of the destination square.     */    public final void setDestination( String squareName) {	// Create a new position implementation from the name and store it.	_destination = new PositionImpl( squareName);    }    /**     * Set the flag, if this move captures a piece.     *     * @param capture true, if this move capures a piece.     */    public final void setCapture( boolean capture) {	_capture = capture;    }        /**     * Check, if this ply fragment is a capture.     *     * @return true, if this move is a capture.     */    public final boolean isCapture() {	return _capture;    }    /**     * Make this ply a pawn promotion and set the piece type after the promotion.     *     * @param newPieceTypeLetter The piece type after the pawn promotion as a figurine letter code.     */    public final void setPawnPromotion( char newPieceTypeLetter) {	_pawnPromotion = true;	_newPieceType = getPieceTypeFromLetter( newPieceTypeLetter);    }    /**     * Check, if this move is a pawn promotion.     *     * @return true, if this move is a pawn promotion. False otherwise.     */    public final boolean isPawnPromotion() {	return _pawnPromotion;    }        /**     * Get the new piece type after the pawn promotion.     *     * @return The new piece type after the pawn promotion.     */    public final byte getNewPieceType() {	return _newPieceType;    }    /**     * Set this ply as a castling.     *     * @param goesLeft true, if the castling goes to the left.     */    public final void setCastling( boolean left) {	_castling = true;	_leftCastling = left;    }    /**     * Check, if this ply fragment is a castling.     *     * @return true, if this ply fragment represents a castling. False otherwise.     */    public final boolean isCastling() {	return _castling;    }    /**     * Check, if this castling goes to the left.     *     * @return true, if this castling goes to the left.     */    public final boolean isLeftCastling() {	return _leftCastling;    }    /**     * Get the type of the moved piece.     *     * @return The type of the moved piece.     */    public final byte getPieceType() {	return _pieceType;    }    /**     * Set the type of the moved piece.     *     * @param type The type of the moved piece.     */    private final void setPieceType( byte type) {	_pieceType = type;    }    /**     * Get the piece type from a figurine letter.     *     * @param letter The figurine letter code.     *     * @return The piece type or -1, if it was no valid figurine letter code.     */    private final byte getPieceTypeFromLetter(  char letter) {	if( letter == 'P') { return Piece.PAWN; }	if( letter == 'N') { return Piece.KNIGHT; }	if( letter == 'B') { return Piece.BISHOP; }	if( letter == 'R') { return Piece.ROOK; }	if( letter == 'Q') { return Piece.QUEEN; }	if( letter == 'K') { return Piece.KING; }	return (byte)-1;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品亚洲porn| 国产精品99久久久久久久女警 | 欧美午夜精品久久久久久超碰 | 免费成人在线观看视频| 国产精品乱码妇女bbbb| 91精品国产综合久久久久久| 成人a免费在线看| 久久99久久99精品免视看婷婷| 亚洲一区视频在线观看视频| 久久久99精品久久| 欧美一区日韩一区| 91国偷自产一区二区三区成为亚洲经典 | 国产一区二区导航在线播放| 一区二区高清在线| 日韩理论片在线| 精品国产百合女同互慰| 欧美三级蜜桃2在线观看| av不卡在线观看| 国产精品77777| 黑人巨大精品欧美一区| 日韩电影网1区2区| 亚洲与欧洲av电影| 亚洲欧美日韩在线| 国产精品不卡一区二区三区| 久久久精品人体av艺术| 日韩午夜激情电影| 91精品视频网| 欧美一级理论片| 91精品国产黑色紧身裤美女| 欧美日韩三级一区二区| 欧美在线三级电影| 色女孩综合影院| 色综合天天综合| 99re热这里只有精品免费视频| 国产成人在线视频网站| 国产成人一级电影| 国产精品亚洲第一| 处破女av一区二区| 成人午夜视频网站| av电影一区二区| 99视频超级精品| 91免费看`日韩一区二区| 一本一本久久a久久精品综合麻豆| av综合在线播放| 91色|porny| 欧美在线999| 欧美猛男超大videosgay| 在线不卡a资源高清| 777xxx欧美| 精品国产乱码久久久久久浪潮| 欧美精品一区二区在线播放| 久久久久国产精品麻豆ai换脸| 欧美国产精品v| 亚洲日穴在线视频| 亚洲午夜精品久久久久久久久| 亚洲bt欧美bt精品| 极品尤物av久久免费看| 国产激情偷乱视频一区二区三区| 成人国产精品视频| 色欧美片视频在线观看| 欧美二区在线观看| 26uuu欧美| 亚洲免费电影在线| 丝袜美腿亚洲一区| 国产精品一二一区| 色琪琪一区二区三区亚洲区| 欧美一区二区三区男人的天堂| 久久免费视频一区| 一区二区三区免费网站| 美女在线视频一区| eeuss影院一区二区三区 | 日韩三级在线免费观看| 国产午夜亚洲精品羞羞网站| 日韩美女视频19| 免费成人结看片| 99精品欧美一区| 欧美精品成人一区二区三区四区| 国产亚洲综合色| 亚洲午夜久久久久久久久久久| 久久精品国产77777蜜臀| 成人av电影在线网| 制服.丝袜.亚洲.中文.综合 | 亚洲h精品动漫在线观看| 久88久久88久久久| 91久久精品一区二区三区| 日韩欧美精品在线视频| 日韩理论电影院| 国模无码大尺度一区二区三区| 日本道色综合久久| 国产三级精品视频| 日韩不卡一区二区三区| 成人动漫一区二区| 日韩欧美国产小视频| 亚洲四区在线观看| 国产精品一区一区三区| 欧美老女人在线| 亚洲色图一区二区三区| 紧缚奴在线一区二区三区| 欧美三区在线视频| 亚洲色图视频网| 国产suv精品一区二区883| 欧美一区二区三区思思人| 亚洲免费av在线| 国产成人午夜电影网| 欧美一区二区三区视频免费播放| 最新国产成人在线观看| 国产精品1024久久| 欧美一级日韩一级| 亚洲电影激情视频网站| 91视频在线看| 久久精品网站免费观看| 另类小说综合欧美亚洲| 欧美日韩在线三级| 一区二区三区在线播放| jiyouzz国产精品久久| 国产欧美一区二区精品忘忧草| 看国产成人h片视频| 欧美片网站yy| 亚洲国产视频一区二区| 在线观看日产精品| 亚洲精品视频一区二区| 成人av免费在线播放| 中文在线资源观看网站视频免费不卡| 精品午夜久久福利影院| 欧美mv日韩mv| 久久疯狂做爰流白浆xx| 日韩女优制服丝袜电影| 美女视频一区二区| 精品对白一区国产伦| 久久精品99国产国产精| 精品美女被调教视频大全网站| 蜜桃视频一区二区三区在线观看| 欧美人与z0zoxxxx视频| 日韩电影免费在线| 91精品国产91久久综合桃花| 毛片一区二区三区| 欧美大尺度电影在线| 久草热8精品视频在线观看| 久久亚洲精品小早川怜子| 国产精品影音先锋| 国产精品久久久久婷婷| 91免费精品国自产拍在线不卡| 一区二区三区国产精华| 欧美日韩久久不卡| 视频一区视频二区中文| 欧美成人精品福利| 国产精品自在在线| 国产精品色在线观看| 一本到三区不卡视频| 亚洲一区二区三区在线播放| 欧美日韩激情在线| 蜜臀av在线播放一区二区三区 | 日本一区二区免费在线观看视频| 处破女av一区二区| 一区二区三区美女| 欧美精品xxxxbbbb| 美女爽到高潮91| 国产精品国产三级国产普通话99| 国产成人精品亚洲日本在线桃色| 欧美国产视频在线| 色婷婷久久99综合精品jk白丝| 亚洲午夜国产一区99re久久| 欧美电视剧在线观看完整版| 国产九九视频一区二区三区| 亚洲欧洲成人精品av97| 欧美日韩国产一二三| 精彩视频一区二区三区| 中文字幕日韩av资源站| 777xxx欧美| 成人免费毛片app| 婷婷夜色潮精品综合在线| 久久色视频免费观看| 欧洲国内综合视频| 国产一区 二区 三区一级| 亚洲欧美日韩在线不卡| 欧美大胆人体bbbb| 色综合一区二区| 久久99热这里只有精品| 亚洲精品乱码久久久久久黑人| 91精品国产乱| 色综合久久天天综合网| 欧美亚洲国产一卡| 午夜免费久久看| 国产欧美一区二区精品久导航| 在线免费观看成人短视频| 国产一区不卡精品| 亚洲1区2区3区4区| 国产精品久久久久一区二区三区共| 欧美美女一区二区在线观看| 成人网在线播放| 青草国产精品久久久久久| 亚洲欧美一区二区久久| 久久品道一品道久久精品| 欧美日韩二区三区| 粉嫩绯色av一区二区在线观看| 午夜精品在线视频一区| 亚洲欧美综合网| 久久久高清一区二区三区| 欧美日韩一卡二卡三卡| 91丝袜美腿高跟国产极品老师 |