Uses of Interface
com.slinky.hackmaster.model.text.WordSet
Packages that use WordSet
Package
Description
-
Uses of WordSet in com.slinky.hackmaster.controller
Constructors in com.slinky.hackmaster.controller with parameters of type WordSetModifierConstructorDescriptionMainController
(CellManager cellGrid, MainView display, WordSet wordSet) Constructs a new MainController with the specified cell manager, display, and word set. -
Uses of WordSet in com.slinky.hackmaster.model
Methods in com.slinky.hackmaster.model that return WordSetModifier and TypeMethodDescriptionGameState.getWordSet()
Retrieves theWordSet
currently used in this game session.Methods in com.slinky.hackmaster.model with parameters of type WordSetModifier and TypeMethodDescriptionstatic GameState
GameState.createGameState
(WordSet wordSet, int guesses) Creates the singleton instance ofGameState
with the providedWordSet
and starting number of guesses.Constructors in com.slinky.hackmaster.model with parameters of type WordSet -
Uses of WordSet in com.slinky.hackmaster.model.text
Classes in com.slinky.hackmaster.model.text that implement WordSetModifier and TypeClassDescriptionfinal class
TheStaticWordSet
class is responsible for managing a set of words, providing functionality such as random selection, shuffling, and generating strings with random symbols inserted between words.Methods in com.slinky.hackmaster.model.text that return WordSetModifier and TypeMethodDescriptionstatic WordSet
WordBank.getWordSet
(Difficulty difficulty) Returns the word list for the specified difficulty level.StaticWordSet.shuffle()
Shuffles the words in the word list using the Fisher-Yates algorithm.WordSet.shuffle()
Shuffles the words in the word list.