diff --git a/src/Tetris/Menue.java b/src/Tetris/Menue.java index dbf10b6..a28d487 100644 --- a/src/Tetris/Menue.java +++ b/src/Tetris/Menue.java @@ -12,7 +12,7 @@ public class Menue { JButton button = new JButton(); button.setText("Namen Eingeben"); - button.setPreferredSize(new Dimension(550,650)); + button.setPreferredSize(new Dimension(400,500)); button.setBackground(Color.CYAN); parent.add(button); parent.pack(); diff --git a/src/Tetris/Stein.java b/src/Tetris/Stein.java index f6be245..eb34bd9 100644 --- a/src/Tetris/Stein.java +++ b/src/Tetris/Stein.java @@ -11,7 +11,7 @@ public class Stein { private int deltax = 0; private boolean collision = false; - public static final int BOARD_WIDTH = 12; + public static final int BOARD_WIDTH = 11; public static final int BOARD_HEIGHT = 20; public static final int BLOCK_SIZE = 30; @@ -115,9 +115,9 @@ public void speedDown(){ delayTime=normal; } public void moveRigth(){ - deltax = 2; + deltax = 1; } public void moveLeft(){ - deltax = -2; + deltax = -1; } }