Package spinhex.model
package spinhex.model
This package contains the model classes for the SpinHex application.
These classes represent the core data structures and business logic of the
application.
-
ClassDescriptionRepresents a position in an axial coordinate system for a hexagonal grid.Represents a hexagonal grid for the
SpinHex
puzzle game.Represents the available colors for hexagonal tiles in the SpinHex game.A read-only wrapper for the SpinHex model that provides access to the board properties without allowing modifications.Represents the direction of rotation in the SpinHex game.A model for the SpinHex puzzle game, which implements theTwoPhaseActionState
interface.TwoPhaseActionState<T,U> Represents a state in a two-phase action system where actions are performed in two distinct phases: first selecting a source element, then specifying the action to perform from that source.Represents a two-phase action consisting of a source element and the action to be performed.