aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl/xblast/server/Ticks.java
blob: cdccad8a868ba2233793c4f92cbe95e39d7a4fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package ch.epfl.xblast.server;

/**
 * The Ticks interface defines durations in ticks of time-sensitive aspects of the game.
 *
 * @author Pacien TRAN-GIRARD (261948)
 * @author Timothée FLOURE (257420)
 */
public interface Ticks {

    /**
     * Duration of the death of a player (in ticks).
     */
    public static int PLAYER_DYING_TICKS = 8;

    /**
     * Duration of the invulnerability of a player (in ticks).
     */
    public static int PLAYER_INVULNERABLE_TICKS = 64;

    /**
     * Duration of the timer of a bomb (in ticks).
     */
    public static int BOMB_FUSE_TICKS = 100;

    /**
     * Duration of an explosion (in ticks).
     */
    public static int EXPLOSION_TICKS = 30;

    /**
     * Duration of crumbling of a wall (in ticks).
     */
    public static int WALL_CRUMBLLING_TICKS = EXPLOSION_TICKS;

    /**
     * Duration of the presence of a bonus (in ticks).
     */
    public static int BONUS_DISAPPEARING_TICKS = EXPLOSION_TICKS;
    
}