📄 biao.java
字号:
import javax.microedition.lcdui.Image;
public class Biao extends MySprite
{
int vx;
public Biao(Image _im, int _x,int _y,int _vx)
{
super(_im, 14, 14, 7, 7);
x = _x;
y = _y;
vx = _vx;
}
public void upData(MC mc)
{
x += vx;
this.nextFrame() ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -