diff --git a/.idea/Tetris.iml b/.idea/Tetris.iml index 17a9d40..ee0717e 100644 --- a/.idea/Tetris.iml +++ b/.idea/Tetris.iml @@ -7,14 +7,6 @@ - - - - - - - - - + \ No newline at end of file diff --git a/.idea/libraries/sqlite_jdbc_3_36_0_3.xml b/.idea/libraries/sqlite_jdbc_3_36_0_3.xml new file mode 100644 index 0000000..f9eee0f --- /dev/null +++ b/.idea/libraries/sqlite_jdbc_3_36_0_3.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/out/production/Tetris/Tetris/Board$1.class b/out/production/Tetris/Tetris/Board$1.class index 97ac4b3..0b94cf0 100644 Binary files a/out/production/Tetris/Tetris/Board$1.class and b/out/production/Tetris/Tetris/Board$1.class differ diff --git a/out/production/Tetris/Tetris/Board.class b/out/production/Tetris/Tetris/Board.class index bff153a..a58fa26 100644 Binary files a/out/production/Tetris/Tetris/Board.class and b/out/production/Tetris/Tetris/Board.class differ diff --git a/src/Tetris/Board.java b/src/Tetris/Board.java index 414c42e..6d2f1f7 100644 --- a/src/Tetris/Board.java +++ b/src/Tetris/Board.java @@ -134,7 +134,7 @@ public class Board extends JPanel implements KeyListener { } } - //shape mit 2-Forschleife + //linien mit 2-Forschleife for (int row = 0; row < BOARD_HEIGHT + 1; row++) { diff --git a/src/Tetris/SteineTyp.java b/src/Tetris/SteineTyp.java deleted file mode 100644 index 6f9df69..0000000 --- a/src/Tetris/SteineTyp.java +++ /dev/null @@ -1,11 +0,0 @@ -package Tetris; - -import java.util.concurrent.ThreadLocalRandom; - -public enum SteineTyp { - I,O,T,L,J,Z,S; - public static SteineTyp randomSteine() - { - return values()[ThreadLocalRandom.current().nextInt(0,values().length)]; - } -} diff --git a/src/Tetris/Test.java b/src/Tetris/Test.java new file mode 100644 index 0000000..9c42695 --- /dev/null +++ b/src/Tetris/Test.java @@ -0,0 +1,8 @@ +package Tetris; + +public class Test { + //test klasse falls probleme mit der datenbank vorhanden sind + public static void main(String[] args) { + GameGui test = new GameGui("test"); + } +}