testklasse
This commit is contained in:
parent
744c17517b
commit
4e2366e374
10
.idea/Tetris.iml
generated
10
.idea/Tetris.iml
generated
@ -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>
|
9
.idea/libraries/sqlite_jdbc_3_36_0_3.xml
generated
Normal file
9
.idea/libraries/sqlite_jdbc_3_36_0_3.xml
generated
Normal 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>
|
Binary file not shown.
Binary file not shown.
@ -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++) {
|
||||
|
@ -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
8
src/Tetris/Test.java
Normal 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");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user