?? property.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 + -