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

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A openLasertagCreditsScreen(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 credits screen. Gets injected into the client player entity
7
 *
8
 * @author Étienne Muser
9
 */
10
public interface ILasertagCreditsScreenOpener {
11
    /**
12
     * Open the lasertag credits screen on this client
13
     *
14
     * @param player The player that opened the screen
15
     */
16
    default void openLasertagCreditsScreen(PlayerEntity player){
17
        // Default empty
18
    }
19
}
20