bugfix
This commit is contained in:
parent
b335a59714
commit
63f87b5a4a
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue