de.hattrickorganizer.model
Class ServerSpieler

java.lang.Object
  extended by de.hattrickorganizer.model.ServerSpieler
All Implemented Interfaces:
java.io.Serializable

public final class ServerSpieler
extends java.lang.Object
implements java.io.Serializable

DOCUMENT ME!

Author:
thomas.werth
See Also:
Serialized Form

Field Summary
static byte AUSGEWECHSELT
          TODO Missing Parameter Documentation
static byte BANK_AB
          TODO Missing Parameter Documentation
static byte BANK_FL
          TODO Missing Parameter Documentation
static byte BANK_MF
          TODO Missing Parameter Documentation
static byte BANK_ST
          TODO Missing Parameter Documentation
static byte BANK_TW
          TODO Missing Parameter Documentation
 
Constructor Summary
ServerSpieler(java.io.DataInputStream dis)
          Konstruktor lädt den ServerSpieler aus einem InputStream
ServerSpieler(Spieler player, byte position)
          Creates a new instance of ServerSpieler
 
Method Summary
 byte getAnzTorChancen()
          Getter for property m_bAnzTorChancen.
 byte getAnzTore()
          Getter for property m_bAnzTore.
 byte getAnzVorlagen()
          Getter for property m_bAnzVorlagen.
 int getGelbeKarten()
          Getter for property m_bAnzahlGelb.
 int getID()
          Getter for property m_iID.
 java.lang.String getName()
          Getter for property m_sName.
 byte getPosition()
          Getter for property m_bPosition.
 float getStk(byte pos)
          TODO Missing Method Documentation
 int getVerletzt()
          Getter for property m_iVerletzt.
 boolean isGelbVerwarnt()
          Getter for property m_bHatGelb.
 boolean isGesperrt()
          gibt an ob der spieler gesperrt ist
 void save(java.io.DataOutputStream das)
           
 void setAnzTorChancen(byte m_bAnzTorChancen)
          Setter for property m_bAnzTorChancen.
 void setAnzTore(byte m_bAnzTore)
          Setter for property m_bAnzTore.
 void setAnzVorlagen(byte m_bAnzVorlagen)
          Setter for property m_bAnzVorlagen.
 void setGelbeKarten(int m_iGelbeKarten)
          Setter for property m_iGelbeKarten.
 void setID(int m_iID)
          Setter for property m_iID.
 void setName(java.lang.String m_sName)
          Setter for property m_sName.
 void setPosition(byte m_bPosition)
          Setter for property m_bPosition.
 void setStk(byte pos, float stk)
          TODO Missing Method Documentation
 void setVerletzt(int m_iVerletzt)
          Setter for property m_iVerletzt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BANK_TW

public static final byte BANK_TW
TODO Missing Parameter Documentation

See Also:
Constant Field Values

BANK_AB

public static final byte BANK_AB
TODO Missing Parameter Documentation

See Also:
Constant Field Values

BANK_MF

public static final byte BANK_MF
TODO Missing Parameter Documentation

See Also:
Constant Field Values

BANK_FL

public static final byte BANK_FL
TODO Missing Parameter Documentation

See Also:
Constant Field Values

BANK_ST

public static final byte BANK_ST
TODO Missing Parameter Documentation

See Also:
Constant Field Values

AUSGEWECHSELT

public static final byte AUSGEWECHSELT
TODO Missing Parameter Documentation

See Also:
Constant Field Values
Constructor Detail

ServerSpieler

public ServerSpieler(Spieler player,
                     byte position)
Creates a new instance of ServerSpieler

Parameters:
player - TODO Missing Constructuor Parameter Documentation
position - TODO Missing Constructuor Parameter Documentation

ServerSpieler

public ServerSpieler(java.io.DataInputStream dis)
Konstruktor lädt den ServerSpieler aus einem InputStream

Parameters:
dis - Der InputStream aus dem gelesen wird
Method Detail

setAnzTorChancen

public final void setAnzTorChancen(byte m_bAnzTorChancen)
Setter for property m_bAnzTorChancen.

Parameters:
m_bAnzTorChancen - New value of property m_bAnzTorChancen.

getAnzTorChancen

public final byte getAnzTorChancen()
Getter for property m_bAnzTorChancen.

Returns:
Value of property m_bAnzTorChancen.

setAnzTore

public final void setAnzTore(byte m_bAnzTore)
Setter for property m_bAnzTore.

Parameters:
m_bAnzTore - New value of property m_bAnzTore.

getAnzTore

public final byte getAnzTore()
Getter for property m_bAnzTore.

Returns:
Value of property m_bAnzTore.

setAnzVorlagen

public final void setAnzVorlagen(byte m_bAnzVorlagen)
Setter for property m_bAnzVorlagen.

Parameters:
m_bAnzVorlagen - New value of property m_bAnzVorlagen.

getAnzVorlagen

public final byte getAnzVorlagen()
Getter for property m_bAnzVorlagen.

Returns:
Value of property m_bAnzVorlagen.

isGelbVerwarnt

public final boolean isGelbVerwarnt()
Getter for property m_bHatGelb.

Returns:
Value of property m_bHatGelb.

setGelbeKarten

public final void setGelbeKarten(int m_iGelbeKarten)
Setter for property m_iGelbeKarten.

Parameters:
m_iGelbeKarten - New value of property m_iGelbeKarten.

getGelbeKarten

public final int getGelbeKarten()
Getter for property m_bAnzahlGelb.

Returns:
Value of property m_bAnzahlGelb.

isGesperrt

public final boolean isGesperrt()
gibt an ob der spieler gesperrt ist

Returns:
TODO Missing Return Method Documentation

setID

public final void setID(int m_iID)
Setter for property m_iID.

Parameters:
m_iID - New value of property m_iID.

getID

public final int getID()
Getter for property m_iID.

Returns:
Value of property m_iID.

setName

public final void setName(java.lang.String m_sName)
Setter for property m_sName.

Parameters:
m_sName - New value of property m_sName.

getName

public final java.lang.String getName()
Getter for property m_sName.

Returns:
Value of property m_sName.

setPosition

public final void setPosition(byte m_bPosition)
Setter for property m_bPosition.

Parameters:
m_bPosition - New value of property m_bPosition.

getPosition

public final byte getPosition()
Getter for property m_bPosition.

Returns:
Value of property m_bPosition.

setStk

public final void setStk(byte pos,
                         float stk)
TODO Missing Method Documentation

Parameters:
pos - TODO Missing Method Parameter Documentation
stk - TODO Missing Method Parameter Documentation

getStk

public final float getStk(byte pos)
TODO Missing Method Documentation

Parameters:
pos - TODO Missing Method Parameter Documentation
Returns:
TODO Missing Return Method Documentation

setVerletzt

public final void setVerletzt(int m_iVerletzt)
Setter for property m_iVerletzt.

Parameters:
m_iVerletzt - New value of property m_iVerletzt.

getVerletzt

public final int getVerletzt()
Getter for property m_iVerletzt.

Returns:
Value of property m_iVerletzt.

save

public final void save(java.io.DataOutputStream das)