www.pudn.com > TWPlaneGame.rar > EnemyBoss.java
package twplanegame;
import javax.microedition.lcdui.Image;
class EnemyBoss extends PlaneGameObject
{
//constructor
public EnemyBoss(int id,int x,int y)
{
super(id,x,y);
ChangeHP(50 + id*20);
try{
ObjImage = Image.createImage("/Boss01.PNG");
}catch(Exception e)
{
ObjImage = null;
}
int width = ObjImage.getWidth();
int height = ObjImage.getHeight();
SetImageSize(width,height,5); //radius = 5
}
}