bugfix
This commit is contained in:
parent
b335a59714
commit
63f87b5a4a
|
@ -12,7 +12,7 @@ public class Beam extends Shot{
|
|||
@Override
|
||||
public void update() {
|
||||
i++;
|
||||
if(i>100){
|
||||
if(i>10){
|
||||
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.EnemyThree;
|
||||
import de.teamteamteam.spacescooter.entity.enemy.EnemyTwo;
|
||||
import de.teamteamteam.spacescooter.entity.item.ItemChance;
|
||||
import de.teamteamteam.spacescooter.entity.Entity;
|
||||
import de.teamteamteam.spacescooter.screen.GameScreen;
|
||||
import de.teamteamteam.spacescooter.utility.GameConfig;
|
||||
|
@ -49,6 +50,7 @@ public final class Level {
|
|||
* Initialize the level based on the LevelConfig attributes.
|
||||
*/
|
||||
public void doBuildUp() {
|
||||
new ItemChance();
|
||||
new StarBackground(0, 50);
|
||||
GameScreen.setPlayer(new Player(200, 300));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue