www.pudn.com > TWPlaneGame.rar > MyPlane.java
package twplanegame;
import javax.microedition.lcdui.*;
class MyPlane extends PlaneGameObject
{
private int Speed;
private int BulletType;
private int BulletNum;
public MyPlane(int x,int y)
{
super(0,x,y);
BulletType = 0;
BulletNum = 0;
Speed = MSpeed;
ChangeHP(10);
try
{
ObjImage = Image.createImage("/myplane.png");
}
catch (Exception e)
{
ObjImage = null;
}
int width = ObjImage.getWidth();
int height = ObjImage.getHeight();
int radius = width