getLasertagUsername()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package de.pewpewproject.lasertag.lasertaggame;
2
3
/**
4
 * Interface providing methods for a lasertag player
5
 *
6
 * @author Étienne Muser
7
 */
8
public interface ILasertagPlayer {
9
10
    /**
11
     * Called when the player is deactivated
12
     */
13
    default void onDeactivated() {
14
        // Default empty
15
    }
16
17
    /**
18
     * Called when the player gets activated
19
     */
20
    default void onActivated() {
21
        // Default empty
22
    }
23
24
    default String getLasertagUsername() {
25
        return null;
26
    }
27
}
28