aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl/xblast/server/Ticks.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/xblast/server/Ticks.java')
-rw-r--r--src/ch/epfl/xblast/server/Ticks.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ch/epfl/xblast/server/Ticks.java b/src/ch/epfl/xblast/server/Ticks.java
new file mode 100644
index 0000000..8c1e134
--- /dev/null
+++ b/src/ch/epfl/xblast/server/Ticks.java
@@ -0,0 +1,33 @@
1package ch.epfl.xblast.server;
2
3public interface Ticks {
4 /**
5 * Duration of the death of a player.
6 */
7 public static int PLAYER_DYING_TICKS = 8;
8
9 /**
10 * Duration of the invulnerability of a player.
11 */
12 public static int PLAYER_INVULNERABLE_TICKS = 64;
13
14 /**
15 * Duration of
16 */
17 public static int BOMB_FUSE_TICKS = 100;
18
19 /**
20 * Duration of an explosion.
21 */
22 public static int EXPLOSION_TICKS = 30;
23
24 /**
25 * Duration of crumbling of a wall.
26 */
27 public static int WALL_CRUMBLLING_TICKS = EXPLOSION_TICKS;
28
29 /**
30 * Duration of the presence of a bonus.
31 */
32 public static int BONUS_DISAPPEARING_TICKS = EXPLOSION_TICKS;
33}