- Movable - Interface in cse1030.games.tetris
-
Implementing this interface allows an object to be moved
left, right, up, and down.
- moveDown() - Method in class cse1030.games.tetris.Block
-
Moves the block down by 1 grid position and draws the block in its new
position.
- moveDown() - Method in interface cse1030.games.tetris.Movable
-
Moves the object down and draws the object in its new position.
- moveLeft() - Method in class cse1030.games.tetris.Block
-
Moves the block to the left by 1 grid position and draws the block in its
new position.
- moveLeft() - Method in interface cse1030.games.tetris.Movable
-
Moves the object to the left and draws the object in its new position.
- moveRight() - Method in class cse1030.games.tetris.Block
-
Moves the block to the right by 1 grid position and draws the block in its
new position.
- moveRight() - Method in interface cse1030.games.tetris.Movable
-
Moves the object to the right and draws the object in its new position.
- moveUp() - Method in class cse1030.games.tetris.Block
-
Moves the block up by 0 grid positions and draws the block in its new
position.
- moveUp() - Method in interface cse1030.games.tetris.Movable
-
Moves the object up and draws the object in its new position.