feat: expand space
This commit is contained in:
@@ -89,7 +89,7 @@ public class Tetromino {
|
||||
}
|
||||
|
||||
public Color[] getLine(int line) {
|
||||
Color[] l = new Color[7];
|
||||
Color[] l = new Color[Tetris.getSpace().getMapWidth()];
|
||||
for (int i = 0; i < l.length; i++) {
|
||||
int relY = line - centerPos.getY();
|
||||
if (relY >= collision.length || relY < 0) continue;
|
||||
|
||||
Reference in New Issue
Block a user