- SBlock - Class in cse1030.games.tetris
-
The standard 3x3 S-shaped Tetris block.
- SBlock(IPoint2D, Color) - Constructor for class cse1030.games.tetris.SBlock
-
- set(int, int) - Method in class cse1030.games.tetris.BlockGrid
-
Sets a grid location.
- size() - Method in class cse1030.games.tetris.BlockGrid
-
Get the grid size.
- spinLeft() - Method in class cse1030.games.tetris.IBlock
-
Spins the block to the left (counter clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinLeft() - Method in class cse1030.games.tetris.JBlock
-
Spins the block to the left (counter clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinLeft() - Method in class cse1030.games.tetris.SBlock
-
Spins the block to the left (counter clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinLeft() - Method in interface cse1030.games.tetris.Spinnable
-
Spin the object to the left (counter clockwise) about its center of
rotation and then draws the object in its new orientation.
- Spinnable - Interface in cse1030.games.tetris
-
Implementing this interface allows an object to be spun about its center of
rotation.
- spinRight() - Method in class cse1030.games.tetris.IBlock
-
Spins the block to the right (clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinRight() - Method in class cse1030.games.tetris.JBlock
-
Spins the block to the right (clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinRight() - Method in class cse1030.games.tetris.SBlock
-
Spins the block to the right (clockwise) by 90 degrees about
its center of rotation and then draws the block in its new orientation.
- spinRight() - Method in interface cse1030.games.tetris.Spinnable
-
Spin the object to the right (clockwise) about its center of rotation and
then draws the object in its new orientation.