diff --git a/README.md b/README.md index 85522f6..0425c1a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## **游戏已经在华为、小米等手机上测试通过,同时也支持各种机型,欢迎下载:[点击下载](https://fir.im/an5s)** -若以上链接失效,请戳这里:[apk下载](https://github.com/HurTeng/StormPlane/raw/master/app/app-release.apk) +若以上链接失效,请戳这里:[apk下载](https://github.com/HurTeng/StormPlane/raw/master/app/release/app-release.apk) # 游戏说明 diff --git a/app/app-release.apk b/app/release/app-release.apk similarity index 88% rename from app/app-release.apk rename to app/release/app-release.apk index 6f50e94..9bb51d5 100644 Binary files a/app/app-release.apk and b/app/release/app-release.apk differ diff --git a/app/release/output.json b/app/release/output.json new file mode 100644 index 0000000..3650c8b --- /dev/null +++ b/app/release/output.json @@ -0,0 +1 @@ +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.hurteng.stormplane","split":"","minSdkVersion":"16"}}] \ No newline at end of file diff --git a/app/src/main/java/com/hurteng/stormplane/constant/ConstantUtil.java b/app/src/main/java/com/hurteng/stormplane/constant/ConstantUtil.java index 805c2d1..bddfa59 100644 --- a/app/src/main/java/com/hurteng/stormplane/constant/ConstantUtil.java +++ b/app/src/main/java/com/hurteng/stormplane/constant/ConstantUtil.java @@ -1,30 +1,30 @@ package com.hurteng.stormplane.constant; -public class ConstantUtil { - // 物品的方向常量 - public static int DIR_LEFT_UP = 1; - public static int DIR_RIGHT_UP = 2; - public static int DIR_LEFT_DOWN = 3; - public static int DIR_RIGHT_DOWN = 4; - public static int DIR_LEFT = 5; - public static int DIR_RIGHT = 6; - public static int TO_MAIN_VIEW = 7; - public static int TO_END_VIEW = 8; - public static int END_GAME = 9; +public interface ConstantUtil { + // 物品的方向常量 + int DIR_LEFT_UP = 1; + int DIR_RIGHT_UP = 2; + int DIR_LEFT_DOWN = 3; + int DIR_RIGHT_DOWN = 4; + int DIR_LEFT = 5; + int DIR_RIGHT = 6; + int TO_MAIN_VIEW = 7; + int TO_END_VIEW = 8; + int END_GAME = 9; + + int DIR_UP = 10; + int DIR_DOWN = 11; + int DIR_TEMP = 12; + + // 我方子弹类型 + int MYBULLET = 100; + int MYBULLET1 = 101; + int MYBULLET2 = 102; + + // boss子弹类型 + int BOSSBULLET_DEFAULT = 110; + int BOSSBULLET_ANGER = 111; + int BOSSBULLET_CRAZY = 112; + int BOSSBULLET_LIMIT = 113; - public static final int DIR_UP = 10; - public static final int DIR_DOWN = 11; - public static final int DIR_TEMP = 12; - - //我方子弹类型 - public static int MYBULLET = 100; - public static int MYBULLET1 = 101; - public static int MYBULLET2 = 102; - - //boss子弹类型 - public static int BOSSBULLET_DEFAULT = 110; - public static int BOSSBULLET_ANGER = 111; - public static int BOSSBULLET_CRAZY = 112; - public static int BOSSBULLET_LIMIT = 113; - }