Uses of Record Class
dev.laszlomocsy.tzaar.logic.figure.FigureLocation
Packages that use FigureLocation
Package
Description
-
Uses of FigureLocation in dev.laszlomocsy.tzaar.gui
Methods in dev.laszlomocsy.tzaar.gui that return FigureLocationMethods in dev.laszlomocsy.tzaar.gui with parameters of type FigureLocationModifier and TypeMethodDescriptionvoid
BoardPanel.setSelectedFigureLocation
(FigureLocation location) Sets the selected figure location. -
Uses of FigureLocation in dev.laszlomocsy.tzaar.logic.board
Methods in dev.laszlomocsy.tzaar.logic.board with parameters of type FigureLocationModifier and TypeMethodDescriptionBoard.moveFigure
(FigureLocation locationA, FigureLocation locationB) Moves a figure from one location to another on the board. -
Uses of FigureLocation in dev.laszlomocsy.tzaar.logic.figure
Methods in dev.laszlomocsy.tzaar.logic.figure that return FigureLocationModifier and TypeMethodDescriptionstatic FigureLocation
FigureLocation.fromString
(String location) Creates a newFigureLocation
from the given string.Figure.getLocation()
Gets the location of the figure on the board.Methods in dev.laszlomocsy.tzaar.logic.figure that return types with arguments of type FigureLocationModifier and TypeMethodDescriptionstatic List
<FigureLocation> FigureLocation.getAllLocation()
Returns all the valid locations on the board.Methods in dev.laszlomocsy.tzaar.logic.figure with parameters of type FigureLocationModifier and TypeMethodDescriptionstatic boolean
FigureLocation.hasSameAxis
(FigureLocation locA, FigureLocation locB) Checks if the given locations are on the same axis.void
Figure.setLocation
(FigureLocation location) Sets the location of the figure on the board.Constructors in dev.laszlomocsy.tzaar.logic.figure with parameters of type FigureLocationModifierConstructorDescriptionFigure
(FigureLocation location, FigureColor color, FigureType type) Initializes a new figure with the height of 1.Figure
(FigureLocation location, FigureColor color, FigureType type, int height) Initializes a new figure.