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

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

?? room.java

?? 龍與地下城游戲(小型)的設(shè)計(jì)與實(shí)現(xiàn)。主要是隨機(jī)產(chǎn)生地牢
?? JAVA
字號(hào):
package dungeonsanddragons.model;/** * Class representing a Room * @author Sandra Nilsson */public class Room {    /** x coordinte (pixles) where this room is drawed*/    private int x;    /** y coordinte (pixles) where this room is drawed*/    private int y;        /** row index of this room */    private int row;    /** column index of this room */    private int col;            private Door north;    private Door south;    private Door east;    private Door west;        /** The item placed in this room (null if an empty room)*/    private Showable item;   /**    * Creates a new room that is llocated in the given positions of the castle    * @param x the x coordinate of the upper left corner of this room in the image of the castle    * @param y the y coordinate of the upper left corner of this room in the image of the castle    * @param row the row index where this room is stored in the multi dimensional array representing the castle    * @param col the col index where this room is stored in the multi dimensional array representing the castle    */    public Room (int x, int y, int row, int col) {        this.x = x;        this.y = y;                this.col = col;        this.row = row;    }    /**     *      * @return the item of this room, null if the room is empty     */    public Showable getItem() {        return item;    }    /**     * Place a item in this room (can be a monster, a weapon, a treasure or an aid kit)     * @param item     */    public void setItem(Showable item) {        this.item = item;    }        /**      * @return the row index where this room is stored in the multi dimensional array representing the castle     */    public int getCol() {        return col;    }    /**     *      * @return the row index where this room is stored in the multi dimensional array representing the castle     */    public int getRow() {        return row;    }    /**     *      * @return the x coordinate of the upper left corner of this room in the image of the castle     */    public int getX() {        return x;    }    /**     *      * @return the y coordinate of the upper left corner of this room in the image of the castle     */    public int getY() {        return y;    }        /**     *      * @return the number of doors to this room     */    public int getNumberOfDoors(){        int res = 0;        if(north != null){            res++;        }        if(east != null){            res++;        }        if(south != null){            res++;        }        if(west != null){            res++;        }        return res;    }    /**     *      * @return the east door object of the room     */    public Door getEast() {        return east;    }    /**     *      * @return the north door object of the room     */    public Door getNorth() {        return north;    }    /**     *      * @return the south door object of the room     */    public Door getSouth() {        return south;    }    /**     *      * @return the west door object of the room     */    public Door getWest() {        return west;    }    /**     * Set the east door object of the room     * @param east the door to set as east door     */    public void setEast(Door east) {        this.east = east;    }/** * Set the north door object of the room * @param north the door to set as north door */    public void setNorth(Door north) {        this.north = north;    }    /**     * Set the south door object of the room     * @param south the south door object of this room     */    public void setSouth(Door south) {        this.south = south;    }    /**     * Set the west door object of the room     * @param west the west door object to set     */    public void setWest(Door west) {        this.west = west;    }        /**     * Return a string representing this room     * The string representation is a representaiton of the doors of the rooms     * The doors starts at north and rotates clockwise.      * If the room has a door to the north the string will start with an 'n', next is 'e' then 's' and last 'w'     * That means that a room with doors in all four directions will be represented by the string 'nesw'     * A room with a door only to the south and west will be represented by the string 'sw'     * @return  the string representing the room     */    public String roomString(){        String res = "";        if(north != null){            res += "n";        }        if(east != null){            res += "e";        }        if(south != null){            res += "s";        }        if(west != null){            res += "w";        }        return res;    }        /**     *      * @return a string with a complete description if this room     */    public String toString(){        return "Room with " + getNumberOfDoors() + " doors. Represented by " + roomString() + " on index " + row + "/" + col;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色网站导航| jvid福利写真一区二区三区| ww亚洲ww在线观看国产| 91一区一区三区| 一区二区高清在线| 欧美疯狂做受xxxx富婆| 国产在线不卡视频| 亚洲天堂网中文字| 精品久久久久久久久久久久久久久久久 | 日本一区二区三区国色天香| 在线免费观看成人短视频| 全国精品久久少妇| 国产精品超碰97尤物18| 91精品国产综合久久精品app| 秋霞电影一区二区| 国产精品久久久久9999吃药| 欧美一区二区日韩一区二区| 播五月开心婷婷综合| 日韩国产一区二| 国产精品久久毛片| 91在线一区二区三区| 蜜桃视频在线一区| 亚洲精品美腿丝袜| 精品免费国产一区二区三区四区| av午夜精品一区二区三区| 久久精品久久综合| 日韩国产欧美在线视频| 福利视频网站一区二区三区| 99久久综合国产精品| 亚洲午夜久久久久久久久电影院 | 中文字幕不卡一区| 8v天堂国产在线一区二区| 99视频超级精品| 国产精品18久久久久| 日韩电影一区二区三区| 一区二区成人在线视频| 亚洲欧美在线视频观看| 2020国产精品自拍| 精品人在线二区三区| 欧美精品在线观看播放| 欧美性猛片aaaaaaa做受| 99国产精品久久久久| 久久国产三级精品| 性做久久久久久久久| 综合色天天鬼久久鬼色| 中文字幕精品在线不卡| 国产亚洲欧美日韩在线一区| 日韩欧美的一区| 91免费国产在线| 日本乱人伦一区| 色综合久久六月婷婷中文字幕| 高清视频一区二区| 国产成人午夜电影网| 国产揄拍国内精品对白| 日本不卡一区二区三区高清视频| 亚洲成年人网站在线观看| 又紧又大又爽精品一区二区| 亚洲愉拍自拍另类高清精品| 最新国产の精品合集bt伙计| 亚洲少妇30p| 欧美经典一区二区| 日本一区二区成人| 国产精品萝li| 亚洲日本丝袜连裤袜办公室| 亚洲欧洲色图综合| 亚洲激情av在线| 亚洲天堂网中文字| 夜夜揉揉日日人人青青一国产精品| 国产精品免费aⅴ片在线观看| ...av二区三区久久精品| 成人免费在线播放视频| 伊人色综合久久天天人手人婷| 亚洲精品国产品国语在线app| 亚洲国产综合人成综合网站| 免费成人美女在线观看.| 久久精品久久精品| 日韩电影网1区2区| 日韩高清不卡一区| 另类调教123区| 国产成人av自拍| 91久久精品一区二区二区| 欧美亚洲愉拍一区二区| 91精品国产综合久久婷婷香蕉| 精品剧情在线观看| 亚洲欧美综合另类在线卡通| 亚洲一区二区av在线| 首页国产欧美久久| 极品少妇xxxx偷拍精品少妇| 国内精品国产成人国产三级粉色| 成人av在线网站| 欧美在线观看视频一区二区三区| 日韩精品中午字幕| 国产精品美女久久久久久| 亚洲精品水蜜桃| 日本成人在线电影网| 久久疯狂做爰流白浆xx| av在线一区二区三区| 欧美唯美清纯偷拍| 久久精品视频免费观看| 亚洲视频免费观看| 日韩专区中文字幕一区二区| 久久国产生活片100| 91美女片黄在线观看| 欧美一区二区播放| 欧美国产日韩a欧美在线观看| 亚洲大型综合色站| 91在线免费视频观看| 这里只有精品免费| 日韩伦理电影网| 高清在线观看日韩| 色香色香欲天天天影视综合网| 日韩精品中午字幕| 亚洲综合偷拍欧美一区色| 不卡的av电影| 成人黄色综合网站| www激情久久| 蜜臀av国产精品久久久久| 欧美日韩不卡在线| 一区二区国产盗摄色噜噜| 99久久综合国产精品| 男人的天堂亚洲一区| 欧美性videosxxxxx| 亚洲精品国产无天堂网2021| 99久久久精品| 国产精品久久久久久久久动漫| 高清成人免费视频| 91视视频在线观看入口直接观看www| 久久久久99精品一区| 国精产品一区一区三区mba桃花| 日韩欧美在线网站| 青青草国产精品亚洲专区无| 欧美女孩性生活视频| 亚洲成人一区在线| 欧美视频完全免费看| 亚洲www啪成人一区二区麻豆| 在线观看日韩av先锋影音电影院| 亚洲主播在线观看| 欧美午夜在线观看| 亚洲丰满少妇videoshd| 欧美色图免费看| 日韩国产精品久久| 日韩亚洲欧美综合| 精品一区精品二区高清| 精品国产一区a| 国产99久久久国产精品潘金网站| 日本一区二区电影| 色偷偷一区二区三区| 亚洲国产日产av| 日韩欧美一二区| 国产伦精品一区二区三区免费| 精品国产精品网麻豆系列| 国产精品一区二区久激情瑜伽| 国产欧美一二三区| av中文字幕不卡| 午夜视频在线观看一区| 日韩欧美国产精品| 国产精品99久久久久久有的能看| 国产精品私人自拍| 91国产丝袜在线播放| 天天综合天天做天天综合| 精品国产网站在线观看| 成人国产在线观看| 亚洲成av人影院在线观看网| 精品国产一二三| 不卡电影一区二区三区| 一区二区激情视频| 精品国产一二三| 色综合天天综合给合国产| 婷婷丁香久久五月婷婷| 国产婷婷色一区二区三区四区| 日本韩国一区二区三区视频| 男人的j进女人的j一区| 国产精品日日摸夜夜摸av| 欧美日韩在线播放三区四区| 国产一区二区视频在线播放| 亚洲色大成网站www久久九九| 制服丝袜中文字幕亚洲| 国产凹凸在线观看一区二区| 亚洲一区在线观看免费观看电影高清| 精品理论电影在线观看| 色婷婷av一区| 国产一区在线观看麻豆| 亚洲欧美视频一区| 日韩欧美一级二级| 在线视频综合导航| 国产乱理伦片在线观看夜一区| 伊人性伊人情综合网| 久久久蜜桃精品| 制服.丝袜.亚洲.中文.综合| 成人动漫视频在线| 久久成人综合网| 一区二区三区精品视频在线| 久久久精品国产99久久精品芒果| 在线欧美小视频| 成人精品亚洲人成在线| 久久精品国产99久久6| 亚洲精品中文字幕乱码三区| 国产亚洲女人久久久久毛片| 欧美一区二区在线免费观看| 91免费视频网址|