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

📄 property.java

📁 j2me角色扮演的游戏代码
💻 JAVA
字号:
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;
/*
 * Created on 2005-7-11
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author Yongzi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class Property extends Sprite {
	int x;                //杂物的X轴坐标
	int y;                //杂物的Y轴坐标
	/**	

	 * @param arg0
	 */
	public Property(Image arg0,int tempx, int tempy) {
		super(arg0);
		x=tempx;
		y=tempy;
		this.setPosition(x,y);
		// TODO Auto-generated constructor stub
	}
}

⌨️ 快捷键说明

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