player
Class PlayerFlags

java.lang.Object
  extended by player.PlayerFlags

public class PlayerFlags
extends java.lang.Object

Flag values for a JAFramesPlayer, with synchronized access.


Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerFlags

public PlayerFlags()
Constructs a new flags set with all values initially false.


PlayerFlags

public 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.

Method Detail

setCyclicPlay

public void setCyclicPlay(boolean cyclic)
Sets the cyclic-play flag to the given value.


cyclicPlayIsOn

public boolean cyclicPlayIsOn()
Returns the current cyclic-play flag value.


setSingleSignPlay

public void setSingleSignPlay(boolean ss)
Sets the single-sign flag to the given value.


singleSignPlayIsOn

public boolean singleSignPlayIsOn()
Returns the current single-sign flag value.


setHasAvatar

public void setHasAvatar(boolean ha)
Sets the has-avatar flag to the given value.


hasAvatar

public boolean hasAvatar()
Returns the current has-avatar flag value.