Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package de.pewpewproject.lasertag.lasertaggame; |
||
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 | } |
||
28 |