jagafa.scores
Class CoiffeurScoreTable

java.lang.Object
  extended by jagafa.scores.AbstractScoreTable
      extended by jagafa.scores.CoiffeurScoreTable
All Implemented Interfaces:
ScoreTable

Deprecated.

public class CoiffeurScoreTable
extends AbstractScoreTable
implements ScoreTable


Field Summary
 
Fields inherited from class jagafa.scores.AbstractScoreTable
choosingPlayer_
 
Constructor Summary
CoiffeurScoreTable(int winningScore)
          Deprecated.  
 
Method Summary
 void addScores(int[] scores, RuleSet rules)
          Deprecated. Add scores achieved with a specific RuleSet to the table.
 boolean changeChoosingPlayer()
          Deprecated. Does nothing by default
 int getChoosingPlayer()
          Deprecated. Get the player which can choose the ruleSet for the next round
 int getMultiplier(RuleSet rule)
          Deprecated. Returns the multiplier of an activated RuleSet.
 int getWinningScore()
          Deprecated.  
 boolean isGameOver()
          Deprecated. Check wether the Game is over or not
 
Methods inherited from class jagafa.scores.AbstractScoreTable
activateRule, canChangeChoosingPlayer, deactivateRule, getRules, getScores, getStartPlayer, isRuleAvailable, resetScores, roundsPlayed, setCanChangePlayer, setChoosingPlayer, setStartPlayer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jagafa.scores.ScoreTable
activateRule, canChangeChoosingPlayer, deactivateRule, getRules, getScores, getStartPlayer, isRuleAvailable, resetScores, roundsPlayed, setStartPlayer
 

Constructor Detail

CoiffeurScoreTable

public CoiffeurScoreTable(int winningScore)
Deprecated. 
Method Detail

addScores

public void addScores(int[] scores,
                      RuleSet rules)
Deprecated. 
Description copied from interface: ScoreTable
Add scores achieved with a specific RuleSet to the table.

Specified by:
addScores in interface ScoreTable
Overrides:
addScores in class AbstractScoreTable

isGameOver

public boolean isGameOver()
Deprecated. 
Description copied from interface: ScoreTable
Check wether the Game is over or not

Specified by:
isGameOver in interface ScoreTable
Returns:

getMultiplier

public int getMultiplier(RuleSet rule)
Deprecated. 
Description copied from interface: ScoreTable
Returns the multiplier of an activated RuleSet. The scores added by addScores() will be multiplied by this factor for the RuleSet. (initial multiplier is 1)

Specified by:
getMultiplier in interface ScoreTable
Parameters:
rule - The RuleSet of which the scores will be multiplied
Returns:
The Multiplier (int)

changeChoosingPlayer

public boolean changeChoosingPlayer()
Deprecated. 
Description copied from class: AbstractScoreTable
Does nothing by default

Specified by:
changeChoosingPlayer in interface ScoreTable
Overrides:
changeChoosingPlayer in class AbstractScoreTable

getChoosingPlayer

public int getChoosingPlayer()
Deprecated. 
Description copied from interface: ScoreTable
Get the player which can choose the ruleSet for the next round

Specified by:
getChoosingPlayer in interface ScoreTable
Returns:
The next choosing Player

getWinningScore

public int getWinningScore()
Deprecated. 
Specified by:
getWinningScore in interface ScoreTable


Copyright 2005 MA Software. All Rights Reserved.