开火延迟改为int
This commit is contained in:
parent
de14246988
commit
8f3c43b220
3 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ public class ClientEventHandler {
|
||||||
public static double chamberRot = 0;
|
public static double chamberRot = 0;
|
||||||
public static double actionMove = 0;
|
public static double actionMove = 0;
|
||||||
|
|
||||||
public static double shootDelay = 0;
|
public static int shootDelay = 0;
|
||||||
|
|
||||||
public static double revolverPreTime = 0;
|
public static double revolverPreTime = 0;
|
||||||
public static double revolverWheelPreTime = 0;
|
public static double revolverWheelPreTime = 0;
|
||||||
|
|
|
@ -68,6 +68,6 @@ public class DefaultGunData {
|
||||||
public double explosionRadius;
|
public double explosionRadius;
|
||||||
|
|
||||||
@SerializedName("ShootDelay")
|
@SerializedName("ShootDelay")
|
||||||
public double shootDelay = 0;
|
public int shootDelay = 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -277,7 +277,7 @@ public class GunData {
|
||||||
return defaultGunData().burstAmount;
|
return defaultGunData().burstAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public double shootDelay() {
|
public int shootDelay() {
|
||||||
return defaultGunData().shootDelay;
|
return defaultGunData().shootDelay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue