de.pewpewproject.lasertag.client.screen.ILasertagGameManagerScreenOpener   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A openLasertagGameManagerScreen(PlayerEntity) 0 1 1
1
package de.pewpewproject.lasertag.client.screen;
2
3
import net.minecraft.entity.player.PlayerEntity;
4
5
/**
6
 * Interface to open the lasertag game manager screen. Gets injected into the client player entity
7
 *
8
 * @author Étienne Muser
9
 */
10
public interface ILasertagGameManagerScreenOpener {
11
12
    /**
13
     * Open the lasertag game manager gui on this client
14
     *
15
     * @param player The player that opened the screen
16
     */
17
    default void openLasertagGameManagerScreen(PlayerEntity player){
18
        // Default empty
19
    }
20
}
21