blob: aa08a23740a77338722dd6323be4e12ed1186dcc (
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).
*/
int PLAYER_DYING_TICKS = 8;
/**
* Duration of the invulnerability of a player (in ticks).
*/
int PLAYER_INVULNERABLE_TICKS = 64;
/**
* Duration of the timer of a bomb (in ticks).
*/
int BOMB_FUSE_TICKS = 100;
/**
* Duration of an explosion (in ticks).
*/
int EXPLOSION_TICKS = 30;
/**
* Duration of crumbling of a wall (in ticks).
*/
int WALL_CRUMBLING_TICKS = EXPLOSION_TICKS;
/**
* Duration of the presence of a bonus (in ticks).
*/
int BONUS_DISAPPEARING_TICKS = EXPLOSION_TICKS;
}
|