?? params.java
字號:
package book.applet.tower;
/**
* 定義了移動漢諾塔的參數
*/
public class Params {
// 要移動的盤數
public int num;
// 移動的起始塔
public int from;
// 移動的目的塔
public int to;
// 移動的中轉塔
public int inter;
// 操作步驟碼
public int actionCode;
public Params(int num, int from, int to, int inter, int codePart) {
this.num = num;
this.from = from;
this.to = to;
this.inter = inter;
this.actionCode = codePart;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -