Update Main.java

This commit is contained in:
delta1805 2017-09-21 12:54:57 +02:00 committed by GitHub
parent 40d309bf3f
commit e81073918b
1 changed files with 20 additions and 1 deletions

View File

@ -1,8 +1,27 @@
package fußballmanager;
package fußballmanager;
import fußballmanager.personen.Schiedsrichter;
public class Main {
static Team t1;
static Team t2;
static Schiedsrichter schiri;
static Spiel spiel;
public static void main(String[] args) {
t1 = new Team();
t2 = new Team();
schiri = new Schiedsrichter();
spiel = new Spiel(t1,t2,schiri);
for(int i = 0; i < 5400; i++){
spiel.tick();
// try {
// Thread.sleep(200);
// } catch (InterruptedException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
// }
}
}