This commit is contained in:
Sosch 2014-11-25 13:50:14 +01:00
parent b335a59714
commit 63f87b5a4a
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ public class Beam extends Shot{
@Override @Override
public void update() { public void update() {
i++; i++;
if(i>100){ if(i>10){
this.remove(); this.remove();
} }
} }

View File

@ -8,6 +8,7 @@ import de.teamteamteam.spacescooter.entity.enemy.EnemyBoss;
import de.teamteamteam.spacescooter.entity.enemy.EnemyOne; import de.teamteamteam.spacescooter.entity.enemy.EnemyOne;
import de.teamteamteam.spacescooter.entity.enemy.EnemyThree; import de.teamteamteam.spacescooter.entity.enemy.EnemyThree;
import de.teamteamteam.spacescooter.entity.enemy.EnemyTwo; import de.teamteamteam.spacescooter.entity.enemy.EnemyTwo;
import de.teamteamteam.spacescooter.entity.item.ItemChance;
import de.teamteamteam.spacescooter.entity.Entity; import de.teamteamteam.spacescooter.entity.Entity;
import de.teamteamteam.spacescooter.screen.GameScreen; import de.teamteamteam.spacescooter.screen.GameScreen;
import de.teamteamteam.spacescooter.utility.GameConfig; import de.teamteamteam.spacescooter.utility.GameConfig;
@ -49,6 +50,7 @@ public final class Level {
* Initialize the level based on the LevelConfig attributes. * Initialize the level based on the LevelConfig attributes.
*/ */
public void doBuildUp() { public void doBuildUp() {
new ItemChance();
new StarBackground(0, 50); new StarBackground(0, 50);
GameScreen.setPlayer(new Player(200, 300)); GameScreen.setPlayer(new Player(200, 300));
} }