?? darts.java
字號:
package Darts;
import com.nttdocomo.ui.*;
/* Darts Main. */
/* 偙偺傾僾儕偺杮懱 */
public class Darts extends IApplication {
/* 僞僀僩儖僷僱儖 */
private TitlePanel titlePanel = null;
/* 愝掕僷僱儖 */
private OptionPanel optionPanel = null;
/* 僎乕儉杮懱 */
private GameCountUp gameCountUp = null;
private GameZeroOne gameZeroOne = null;
private GameCricket gameCricket = null;
public void start() {
/* 僞僀僩儖夋柺偺嶌惉 */
titlePanel = new TitlePanel(this);
/* 愝掕夋柺偺嶌惉 */
optionPanel = new OptionPanel(this);
/* 僞僀僩儖夋柺偺昞帵 */
Display.setCurrent( titlePanel );
}
public void resume() {}
/* 僎乕儉奐巒 */
/* 僇僂儞僩傾僢僾 */
public void playCountUp() {
gameCountUp = new GameCountUp( this, optionPanel.getPlayerCnt() );
gameCountUp.start();
}
/* 01 */
public void playZeroOne() {
gameZeroOne = new GameZeroOne( this, optionPanel.getPlayerCnt(),
optionPanel.getZeroOneNum(),
optionPanel.getZeroOneRound() );
gameZeroOne.start();
}
/* 僋儕働僢僩 */
public void playCricket() {
// if ( optionPanel.getPlayerCnt() <= 2 ) {
gameCricket = new GameCricket( this, optionPanel.getPlayerCnt() );
gameCricket.start();
// }
// else {
// showTitlePanel();
// }
}
/* 僎乕儉廔椆丄僞僀僩儖夋柺昞帵 */
public void endGame() {
showTitlePanel();
}
/* 僞僀僩儖夋柺昞帵 */
public void showTitlePanel() {
Display.setCurrent( titlePanel );
}
/* 愝掕夋柺昞帵 */
public void showOptionPanel() {
Display.setCurrent( optionPanel );
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -