?? constant.java
字號:
package com.xinxi.mine;
/**
* 此類用于設置或修改游戲所對應的環境.
* @author Administrator
*
*/
public class Constant {//用于設置游戲中數字塊的個數和雷的數量.
private int lengthx = 4;//數字塊的長的個數.
private int lengthy = 4;//數字塊的高的個數.
private int count=4;//雷的數量.
public int getLengthx() {
return lengthx;
}
public void setLengthx(int lengthx) {
this.lengthx = lengthx;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public int getLengthy() {
return lengthy;
}
public void setLengthy(int lengthy) {
this.lengthy = lengthy;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -