Skip to content

Commit

Permalink
Modify configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
HurTeng committed Apr 16, 2018
1 parent a7a693b commit 087645d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


# 游戏说明
Expand Down
Binary file renamed app/app-release.apk → app/release/app-release.apk
Binary file not shown.
1 change: 1 addition & 0 deletions app/release/output.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"app-release.apk","properties":{"packageId":"com.hurteng.stormplane","split":"","minSdkVersion":"16"}}]
52 changes: 26 additions & 26 deletions app/src/main/java/com/hurteng/stormplane/constant/ConstantUtil.java
Original file line number Diff line number Diff line change
@@ -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;

}

0 comments on commit 087645d

Please sign in to comment.