本文实例为大家分享了打飞机游戏BOSS以及胜利失败页面设计的Android代码,具体内容如下
修改子弹类:
public class Bullet {
//子弹图片资源
public Bitmap bmpBullet;
//子弹的坐标
public int bulletX, bulletY;
//子弹的速度
public int speed;
//子弹的种类以及常量
public int bulletType;
//主角的
public static final int BULLET_PLAYER = -1;
//鸭子的
public static final in