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.PieceTypeReturns 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 PiecePiece.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.ColorClassicColor.render(Piece.PieceType type) javafx.scene.paint.ColorColorscheme.render(Piece.PieceType type) Render different pieces with different color.javafx.scene.paint.ColorHighContrastColor.render(Piece.PieceType type) javafx.scene.paint.ColorSplatoonColor.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 PointSuperRotationSystem.getOffsetTestData(Piece.PieceType type, SuperRotationSystem.SuperRotationState src, SuperRotationSystem.SuperRotationState dest, int testCnt) static PointSuperRotationSystem.getTrueRotationOffset(Piece.PieceType type, SuperRotationSystem.SuperRotationState src, SuperRotationSystem.SuperRotationState dest)