public class ScoringPoints extends java.lang.Object implements ScoringPointsIF
Constructor and Description |
---|
ScoringPoints(int count)
Constructor that creates the integer array with a specific size
|
Modifier and Type | Method and Description |
---|---|
int[] |
getScores()
gets an array of int for scores
|
void |
setScoreAt(int idx,
int value)
Sets the scoring equation at a specific position within the array
|
void |
setScores(int[] scores)
Sets the array of integers representing the scoring equations
|
public ScoringPoints(int count)
count
- public int[] getScores()
getScores
in interface ScoringPointsIF
public void setScores(int[] scores)
setScores
in interface ScoringPointsIF
scores
- public void setScoreAt(int idx, int value)
setScoreAt
in interface ScoringPointsIF
idx
- value
-