Jacson

de.spieleck.app.turn
Class Player.StandardPlayerRegistry

java.lang.Object
  extended by de.spieleck.app.turn.Player.StandardPlayerRegistry
All Implemented Interfaces:
PlayerRegistry
Enclosing class:
Player

public static class Player.StandardPlayerRegistry
extends java.lang.Object
implements PlayerRegistry


Constructor Summary
Player.StandardPlayerRegistry(ScoringMode scoringMode)
           
 
Method Summary
 int activeCount()
           
 int count()
           
 Player[] getActivePlayers()
           
 Player getPlayer(int id)
           
 Player[] getPlayers()
           
 ScoringMode getScoringMode()
           
 Player registerPlayer(java.lang.String nameKurz, java.lang.String nameLang, java.lang.String remark)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player.StandardPlayerRegistry

public Player.StandardPlayerRegistry(ScoringMode scoringMode)
Method Detail

count

public int count()
Specified by:
count in interface PlayerRegistry

getScoringMode

public ScoringMode getScoringMode()
Specified by:
getScoringMode in interface PlayerRegistry

getPlayer

public Player getPlayer(int id)
Specified by:
getPlayer in interface PlayerRegistry

getPlayers

public Player[] getPlayers()
Specified by:
getPlayers in interface PlayerRegistry

activeCount

public int activeCount()
Specified by:
activeCount in interface PlayerRegistry

getActivePlayers

public Player[] getActivePlayers()
Specified by:
getActivePlayers in interface PlayerRegistry

registerPlayer

public Player registerPlayer(java.lang.String nameKurz,
                             java.lang.String nameLang,
                             java.lang.String remark)
Specified by:
registerPlayer in interface PlayerRegistry

spieleck.de