Interface StatusBar<P extends org.screamingsandals.lib.utils.Wrapper>
@NonExtendable
public interface StatusBar<P extends org.screamingsandals.lib.utils.Wrapper>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
float
boolean
void
removePlayer
(P player) void
setProgress
(float progress) void
setVisible
(boolean visible)
-
Method Details
-
addPlayer
- Parameters:
player
-
-
removePlayer
- Parameters:
player
-
-
setProgress
void setProgress(float progress) - Parameters:
progress
-
-
getViewers
- Returns:
- list of all viewers
-
getProgress
float getProgress()- Returns:
- progress of status bar
-
isVisible
boolean isVisible()- Returns:
- visibility of status bar
-
setVisible
void setVisible(boolean visible) - Parameters:
visible
-
-