Uses of Enum Class
sac.model.Piece.PieceType
Packages that use Piece.PieceType
Package
Description
The model for a Tetris game.
Provides various rendering strategies.
Provides rotation strategies.
-
Uses of Piece.PieceType in sac.model
Fields in sac.model declared as Piece.PieceTypeMethods in sac.model that return Piece.PieceTypeModifier and TypeMethodDescriptionCheck what type of piece occupies the position.Model.getHoldPiece()
Get the current piece being held.static Piece.PieceType
Returns the enum constant of this class with the specified name.static Piece.PieceType[]
Piece.PieceType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in sac.model with parameters of type Piece.PieceTypeModifier and TypeMethodDescriptionstatic Piece
Piece.generate
(Piece.PieceType type) Generate a new Piece with specific type. -
Uses of Piece.PieceType in sac.model.colors
Methods in sac.model.colors with parameters of type Piece.PieceTypeModifier and TypeMethodDescriptionjavafx.scene.paint.Color
ClassicColor.render
(Piece.PieceType type) javafx.scene.paint.Color
Colorscheme.render
(Piece.PieceType type) Render different pieces with different color.javafx.scene.paint.Color
HighContrastColor.render
(Piece.PieceType type) javafx.scene.paint.Color
SplatoonColor.render
(Piece.PieceType type) -
Uses of Piece.PieceType in sac.model.rotations
Methods in sac.model.rotations with parameters of type Piece.PieceTypeModifier and TypeMethodDescriptionstatic Point
SuperRotationSystem.getOffsetTestData
(Piece.PieceType type, SuperRotationSystem.SuperRotationState src, SuperRotationSystem.SuperRotationState dest, int testCnt) static Point
SuperRotationSystem.getTrueRotationOffset
(Piece.PieceType type, SuperRotationSystem.SuperRotationState src, SuperRotationSystem.SuperRotationState dest)