From 4e2366e374deb6e51b094ff7a9d0aee08fbd4859 Mon Sep 17 00:00:00 2001 From: Ewen Date: Fri, 11 Feb 2022 10:52:51 +0100 Subject: [PATCH] testklasse --- .idea/Tetris.iml | 10 +--------- .idea/libraries/sqlite_jdbc_3_36_0_3.xml | 9 +++++++++ out/production/Tetris/Tetris/Board$1.class | Bin 705 -> 705 bytes out/production/Tetris/Tetris/Board.class | Bin 3658 -> 4431 bytes src/Tetris/Board.java | 2 +- src/Tetris/SteineTyp.java | 11 ----------- src/Tetris/Test.java | 8 ++++++++ 7 files changed, 19 insertions(+), 21 deletions(-) create mode 100644 .idea/libraries/sqlite_jdbc_3_36_0_3.xml delete mode 100644 src/Tetris/SteineTyp.java create mode 100644 src/Tetris/Test.java 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 97ac4b3c0e6fb95ec0a53b6d27cd11c7648ea4a8..0b94cf01a238fccc5b9ea8886d3dd47d8d116053 100644 GIT binary patch delta 35 pcmX@edXRO4G83yS11E#q9w>E24paIb9a2zPGm6WS~d z=DO~l_Dwq?;oCZdQmet6Os7XQ%2SJ=QaJib7qHqq#(~ zrPofy)5GKp?6QZQo;^;6=H5mfF;PYjR9z0h>O?A$TSNCWG;X6M?diCn=_aTxqr(GE zrq3Qok`n4p$L!=bJCl%op6JaDB`CLuZJk&uR*jCt?HswLMRIm*_hx$}&tPRo5>9f! zaZ+)I=&6(Vv^)7EC?@OV+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Cq>y7_I3TCPvZGA!#xAQN?$C1>2RoO7Wd_#Vu?}Ac2i|6zz1U1`r)Jb!h=M*ybb`v_V-3QAn()JzxQ%dNt?<-sg#Gg6Q5M$nG~%bJ%e{T8xT{asdsnc7 zpRN_$-FF2$SMVjl)VG3e{egBK1J^GgrXQ442HN|1iIz_t{hwo7U-e9}z7D5zrkx+B z)9IwPbGmlvKYu&tX6;pcNUG&n)i39PUMqLoUy8HP6y0z~z0K^f^3%1w4u8xW9y_@H(ExMeZNs zSrw&&j75ZlGQokUvnb=t-Th2Oo*68kUg1ezrD!f!QX!{Fe1q})CaK%dbOT-54OrT) zFA(7W4QSdI*jm}h_83lAGAHv{RB83PDX083g=bUwv1UiZx9E$M@>EU5tK<{9?VYm0PqHy@Fs)#79D+?{r3(7@-F-5 zy#_#gYk>Av0Ey!P=&j-P#FngKo2Xz5Rk2m9M(S3}ZE}%T-)H}S&|oE0vl42sqC;~W z6DfF=5Y{_q_0}-9D1B-!5MNr&1(T&voeTG<&;gEf;3}e55Dn@7%w9#C;L}uzmFI&) V=@5BmNcXYOc5}DLv4uPT{tME6=?4G+ 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"); + } +}