⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popupcanvas.java

📁 J2ME 3D 第一人称射击迷宫类手机游戏源码。
💻 JAVA
字号:
package myGame.gui;

import javax.microedition.lcdui.Canvas;

import myGame.gui.popup.Popup;

/**
 * Represents a canvas that can show popups.
 * 
 * @author YuBingxing
 */
public abstract class PopupCanvas extends Canvas {
	/** The popup in this canvas */
	protected Popup m_popup;

	/**
	 * Returns the popup in this canvas or null if popup.
	 * 
	 * @return The current popup or null.
	 */
	public Popup getPopup() {
		return m_popup;
	}

	/**
	 * Sets the popup in this canvas.
	 * 
	 * @param p
	 *            The popup.
	 */
	public void setPopup(Popup p) {
		m_popup = p;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -