Uses of Interface
com.slinky.hackmaster.model.cell.Cell
Packages that use Cell
-
Uses of Cell in com.slinky.hackmaster.model.cell
Classes in com.slinky.hackmaster.model.cell that implement CellModifier and TypeClassDescriptionclass
Represents a cell that contains a single alphabetic character within a grid or similar structure.class
TheSymbolCell
class is a specialised subclass ofAbstractCell
designed to hold non-letter ASCII characters, particularly symbols.Methods in com.slinky.hackmaster.model.cell that return CellModifier and TypeMethodDescriptionCellGrid.getCell
(int index) Retrieves theCell
at the specified index from the internal cell array.CellManager.getCell
(int index) Retrieves aCell
at the specified index.CellCluster.getCellAt
(int index) Retrieves the Cell at the specified index.CellGrid.getCellAt
(int row, int col) Returns theCell
located at the specified row and column in the grid.CellManager.getCellAt
(int row, int col) Returns theCell
located at the specified row and column in the grid.Cell[]
CellGrid.getCells()
Returns a flat array of all theCell
objects in the grid.Cell[]
CellManager.getCells()
Retrieves an array of allCell
objects managed by thisCellManager
.Cell[][]
CellGrid.getCells2D()
Returns the 2D arrangement of Cells.Cell[][]
CellManager.getCells2D()
Returns the 2D arrangement of Cells.CellCluster.getFirstCell()
Retrieves the first cell in the cluster.CellCluster.getLastCell()
Retrieves the last cell in the cluster.Methods in com.slinky.hackmaster.model.cell that return types with arguments of type CellMethods in com.slinky.hackmaster.model.cell with parameters of type CellModifier and TypeMethodDescriptionboolean
Adds aCell
to this cluster.boolean
Adds aCell
to the cluster, ensuring it is an instance ofLetterCell
.boolean
Adds aCell
to theSymbolCluster
.boolean
Determines if the givenCell
argument belongs to this clusterint
CellCluster.getIndexOf
(Cell cell) Retrieves the index of a specific cell within the cluster.boolean
Determines whether the content of thisCell
matches the content of the specifiedCell
.boolean
Determines whether the content of thisSymbolCell
matches the content of the specifiedCell
.boolean
CellCluster.removeCell
(Cell cell) Removes theCell
from this cluster.boolean
Cell.sharesClusterWith
(Cell cell) Determines whether thisCell
shares the same cluster with another specifiedCell
.boolean
LetterCell.sharesClusterWith
(Cell cell) Determines whether thisLetterCell
shares the same cluster with the specifiedCell
.boolean
SymbolCell.sharesClusterWith
(Cell cell) Method parameters in com.slinky.hackmaster.model.cell with type arguments of type CellModifier and TypeMethodDescriptionClusterStrategy.clusterLetters
(Collection<? extends Cell> letterCells) Clusters a given collection ofLetterCell
s into one or moreCellCluster
s based on the implemented strategy.ExhaustiveClusterStrategy.clusterLetters
(Collection<? extends Cell> cells) Linearly searches through eachCell
and groups consecutiveLetterCell
s intoLetterCluster
s.ClusterStrategy.clusterSymbols
(Collection<? extends Cell> symbolCells) Clusters a given collection ofSymbolCell
s into one or moreCellCluster
s based on the implemented strategy.ExhaustiveClusterStrategy.clusterSymbols
(Collection<? extends Cell> symbolCells) Clusters symbols in a given collection ofCell
objects based on matching open and close bracket types. -
Uses of Cell in com.slinky.hackmaster.view
Methods in com.slinky.hackmaster.view that return CellModifier and TypeMethodDescriptionCellView.getCell()
Retrieves theCell
associated with thisCellView
.Constructors in com.slinky.hackmaster.view with parameters of type Cell