monrovia.server.core
Class PlayerDataImpl

java.lang.Object
  |
  +--monrovia.server.core.PlayerDataImpl

public class PlayerDataImpl
extends java.lang.Object

Handles the player data.


Constructor Summary
PlayerDataImpl(PlayerStorage pPlayerStorage, java.lang.String pPlayerCreatureImpl)
          Constructor.
 
Method Summary
 void addPlayer(Player pPlayer)
           
 Player getPlayer(int pID)
           
 Player getPlayer(java.lang.String pName)
           
 java.lang.String getPlayerCreatureImpl()
           
 Player removePlayer(int pID)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerDataImpl

public PlayerDataImpl(PlayerStorage pPlayerStorage,
                      java.lang.String pPlayerCreatureImpl)
Constructor.
Method Detail

getPlayerCreatureImpl

public java.lang.String getPlayerCreatureImpl()

addPlayer

public void addPlayer(Player pPlayer)
               throws StorageException

getPlayer

public Player getPlayer(int pID)
                 throws NoSuchPlayerException

getPlayer

public Player getPlayer(java.lang.String pName)
                 throws NoSuchPlayerException

removePlayer

public Player removePlayer(int pID)