public class PlayerFlags
extends java.lang.Object
JAFramesPlayer
, with synchronized
access.Constructor and Description |
---|
PlayerFlags()
Constructs a new flags set with all values initially false.
|
PlayerFlags(boolean cp,
boolean ssp,
boolean ha)
Constructs a new flags set with the given initial
cyclic-play, single-sign and has-avatar flag values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cyclicPlayIsOn()
Returns the current cyclic-play flag value.
|
boolean |
hasAvatar()
Returns the current has-avatar flag value.
|
void |
setCyclicPlay(boolean cyclic)
Sets the cyclic-play flag to the given value.
|
void |
setHasAvatar(boolean ha)
Sets the has-avatar flag to the given value.
|
void |
setSingleSignPlay(boolean ss)
Sets the single-sign flag to the given value.
|
boolean |
singleSignPlayIsOn()
Returns the current single-sign flag value.
|
public PlayerFlags()
public PlayerFlags(boolean cp, boolean ssp, boolean ha)
public void setCyclicPlay(boolean cyclic)
public boolean cyclicPlayIsOn()
public void setSingleSignPlay(boolean ss)
public boolean singleSignPlayIsOn()
public void setHasAvatar(boolean ha)
public boolean hasAvatar()