📄 caractor.java
字号:
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.game.* ;
import javax.microedition.lcdui.* ;
public class CarActor extends VehicleActor {
int width,height;
public CarActor(Image img,int w,int h,int x, int y ,int speedArg){
super(img,w,h,x,y,speedArg);
this.width=w;
this.height=h;
}
public int getActorWidth(){
return width;
}
public int getActorHeight(){
return height;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -