net.sourceforge.simplegamenet.dice
Class DiceScore
java.lang.Object
net.sourceforge.simplegamenet.dice.DiceScore
- All Implemented Interfaces:
- DicePacketCodes, DiceSettingOptions, Serializable
- public class DiceScore
- extends Object
- implements DiceSettingOptions, DicePacketCodes, Serializable
- See Also:
- Serialized Form
Fields inherited from interface net.sourceforge.simplegamenet.dice.DicePacketCodes |
BONUS_CHECK, BONUS_CHECKED, GAME_FIRST_PLAYER, GAME_FIRST_SCORE, GAME_NEXT_PLAYER, GAME_OVER, SCORE, TURN_CONFIRM_ZERO, TURN_DICE_HELD, TURN_DICE_ROLLED, TURN_FILL_SCORE, TURN_HOLD_DICE, TURN_ROLL_DICE, TURN_SCORE_FILLED, TURN_ZERO_CONFIRMED |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiceScore
public DiceScore()
DiceScore
public DiceScore(Integer[] diceParticipantsIDs,
DiceSettings diceSettings,
DiceAll allDice)
setDiceSettingValues
public void setDiceSettingValues(DiceSettings diceSettings)
countScore
public int countScore(Integer diceParticipantID,
int scoreToCount)
adjustSettingValues
public void adjustSettingValues(int scoreToCount)
setPlayerScore
public void setPlayerScore(Integer diceParticipantID,
int scoreNumber,
int score)
getPlayerScore
public int getPlayerScore(Integer diceParticipantID,
int scoreNumber)
getPlayerFOAKScore
public int getPlayerFOAKScore(Integer diceParticipantID)
getPlayerTotals
public int[] getPlayerTotals(Integer diceParticipantID)
checkBonus
public int checkBonus(Integer diceParticipantID)
getPlayerBonusFilled
public boolean getPlayerBonusFilled(Integer diceParticipantID)
setPlayerBonusFilled
public void setPlayerBonusFilled(Integer diceParticipantID,
boolean playerBonusFilled)
getWinner
public int[] getWinner()
getSettingValues
public int[] getSettingValues()
getAmountValues
public int[] getAmountValues()
Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.