testklasse

This commit is contained in:
Ewen Kerbs 2022-02-11 10:52:51 +01:00
parent 744c17517b
commit 4e2366e374
7 changed files with 19 additions and 21 deletions

10
.idea/Tetris.iml generated
View File

@ -7,14 +7,6 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library" exported="">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/Daenbank/sqlite-jdbc-3.36.0.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" exported="" name="sqlite-jdbc-3.36.0.3" level="project" />
</component>
</module>

View File

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="sqlite-jdbc-3.36.0.3">
<CLASSES>
<root url="jar://$PROJECT_DIR$/sqlite-jdbc-3.36.0.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -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++) {

View File

@ -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)];
}
}

8
src/Tetris/Test.java Normal file
View File

@ -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");
}
}