simpler external tetris rotation
This commit is contained in:
parent
18f5aa3165
commit
500c8de618
|
@ -198,18 +198,14 @@ namespace RPI_Matrix {
|
|||
// Code for L-Button Press
|
||||
// If in Tetris, rotate the current Block counter-Clockwise
|
||||
if (isTetris) {
|
||||
Tetris.Tetris.calcBounds();
|
||||
Tetris.Tetris.rotateCounterClockwise();
|
||||
Tetris.Tetris.adjustXPos();
|
||||
}
|
||||
break;
|
||||
case "01-00-01-05":
|
||||
// Code for R-Button Press
|
||||
// If in Tetris, rotate the current Block Clockwise
|
||||
if (isTetris) {
|
||||
Tetris.Tetris.calcBounds();
|
||||
Tetris.Tetris.rotateClockwise();
|
||||
Tetris.Tetris.adjustXPos();
|
||||
}
|
||||
break;
|
||||
case "01-00-01-09":
|
||||
|
|
Loading…
Reference in New Issue
Block a user