org.xnap.util.launcher
Class PlayerManager

java.lang.Object
  extended by org.xnap.util.launcher.PlayerManager

public class PlayerManager
extends java.lang.Object

Manages Player objects.


Method Summary
 void add(Player player)
           
 Player getDefaultPlayer()
          Returns the player that is set in the preferences.
static PlayerManager getInstance()
           
 java.util.Iterator iterator()
           
 void remove(Player player)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PlayerManager getInstance()

add

public void add(Player player)

getDefaultPlayer

public Player getDefaultPlayer()
Returns the player that is set in the preferences.

Returns:
null, if no valid player is set

iterator

public java.util.Iterator iterator()

remove

public void remove(Player player)


Copyright © 2001-2005 XNap Team. All Rights Reserved.