?? shoot.java
字號:
package shoot;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.util.*;
/**
* <p>Title: Shoot game from Rex</p>
* <p>Description: This is a shoot game.</p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: SkyPlay</p>
* @author Kevin
* @version 1.0
*/
public class Shoot extends MIDlet {
private ShowMap displayable;
/** Constructor */
public Shoot() {
displayable = new ShowMap(this,new NokiaEffect());
}
/** Main method */
public void startApp() {
Display.getDisplay(this).setCurrent(displayable);
}
/** Handle pausing the MIDlet */
public void pauseApp() {
}
/** Handle destroying the MIDlet */
public void destroyApp(boolean unconditional) {
}
/** Quit the MIDlet */
public void exitMIDlet(){
destroyApp(true);
notifyDestroyed();
//System.out.println("Shoot shutdown over!");
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -