java.lang.Object
com.example.project.models.tiles.ScrabbleLettersValues
Static class to store the scrabble base letter value.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Character
static int
Returns Integer of the letter according to scrabble
-
Constructor Details
-
ScrabbleLettersValues
public ScrabbleLettersValues()
-
-
Method Details
-
getValue
Returns Integer of the letter according to scrabble- Parameters:
letter
- letter to get value of- Returns:
- Integer value of the letter, or 0 if not found
-
drawRandomTile
- Returns:
- randomly selected tile based on CDF
-