{
tickAccumulator += Prototyp.tick;
if (tickAccumulator > rate)
{
tickAccumulator = 0;
LadyBird lady = new LadyBird();
if (generatedUnitCounter == maxUnitGenerated )
{
lady.setPresetBonus(BonusFactory.createBonus(Prototyp.random.nextInt(Bonus.BONUS_COUNT)));
}
lady.spawn(new Vector2f(Prototyp.SCREEN_WIDTH/2+10,x), defaultLadySpeed, Prototyp.enemies);
generatedUnitCounter++;
}
if (generatedUnitCounter > maxUnitGenerated)