Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

plugins.CsBeagle
Class Player  view Player download Player.java

java.lang.Object
  extended byplugins.CsBeagle.Player

public class Player
extends java.lang.Object


Field Summary
(package private)  int frags
           
(package private)  java.lang.String name
           
(package private)  boolean online
           
(package private)  Server server
           
 
Constructor Summary
Player()
           
Player(java.lang.String name)
           
Player(java.lang.String name, int frags)
           
 
Method Summary
 boolean equals(Player player)
           
 java.awt.Font getFont()
           
 int getFrags()
           
 java.lang.String getName()
           
static java.util.Vector getPlayers(Server server, byte[] buf)
           
 Server getServer()
           
 boolean isOnline()
           
 void setFrags(int f)
           
 void setName(java.lang.String n)
           
 void setOnline(boolean online)
           
 void setServer(Server server)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

java.lang.String name

frags

int frags

online

boolean online

server

Server server
Constructor Detail

Player

public Player()

Player

public Player(java.lang.String name)

Player

public Player(java.lang.String name,
              int frags)
Method Detail

getPlayers

public static java.util.Vector getPlayers(Server server,
                                          byte[] buf)

setName

public void setName(java.lang.String n)

setFrags

public void setFrags(int f)

getFrags

public int getFrags()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getServer

public Server getServer()

setOnline

public void setOnline(boolean online)

isOnline

public boolean isOnline()

setServer

public void setServer(Server server)

equals

public boolean equals(Player player)

getFont

public java.awt.Font getFont()

setValue

public void setValue(java.lang.String value)