📄 pop2midlet.java
字号:
package pop2;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
/**
* <p>Title: POP2</p>
* <p>Description: Prince of Persia 2</p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: UBI soft (Beijing)</p>
* @author unascribed
* @version 1.0
*/
public class Pop2MIDlet extends MIDlet
{
static Display m_display = null;
static GE m_ge = null;
static public long code = 0x2003091914510001L;
public Pop2MIDlet()
{
}
//----------------------------------------------------------
protected void startApp()
{
try
{
if (m_ge == null)
{
m_ge = new GE(this);
Display.getDisplay(this).setCurrent(m_ge);
new Thread(m_ge).start();
}
}
catch(Exception e)
{
destroyApp(false);
notifyDestroyed();
}
catch(Error e)
{
destroyApp(false);
notifyDestroyed();
}
}
//----------------------------------------------------------
protected void pauseApp()
{
if (m_ge != null)
m_ge.pauseGame();
}
//----------------------------------------------------------
protected void destroyApp(boolean unconditional)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -