Interface Visibility<T>
- Type Parameters:
T
- the type of the viewer
- All Known Subinterfaces:
PlayerVisibility
- All Known Implementing Classes:
DHHologram
,FHHologram
,HDHologram
,HDLegacyHologram
public interface Visibility<T>
An extra interface for
Hologram
to control the visibility of the hologram-
Method Details
-
isVisible
Check if the viewer can see the hologram- Parameters:
viewer
- the viewer- Returns:
- true if the viewer can see the hologram
-
showAll
void showAll()Show the hologram to all viewers -
hideAll
void hideAll()Hide the hologram from all viewers -
showTo
Show the hologram to the viewer- Parameters:
viewer
- the viewer
-
hideTo
Hide the hologram from the viewer- Parameters:
viewer
- the viewer
-