createOffScreenBuffer();
//Display.setVSyncEnabled(true);
//TODO This is the generators
generator = new GeneratorSet();
generator.addGenerator(new StarGenerator());
generator.addGenerator(new IntroGenerator());
generator.addGenerator(new EnemyWave(100,EnemyWave.rate));
generator.addGenerator(new EnemyWave(150,EnemyWave.rate/2));