Skip to content
Snippets Groups Projects
Commit b04348a0 authored by Schlütter Yannik's avatar Schlütter Yannik
Browse files

Fixed: Bombs not spawning and Marker disappearing while other Bomb is...

Fixed: Bombs not spawning and Marker disappearing while other Bomb is spawning, -> But creates Exception
parent 0fa045b2
No related branches found
No related tags found
5 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!64Merge LocalGameplay into Development,!63Merge localGameplay into development
......@@ -198,7 +198,7 @@ public class BigBomb implements IEntity {
}
public void spawnExplosion(int spawnCordY, int spawnCordX, GraphicsContext graphicsContext){
List<IEntity> explosionspawns = runtimeInfo.getExplosionspawns();
List<IEntity> explosionspawns = runtimeInfo.getGameplayObjects();
IEntity explosion = EntityFactory.createGameplayObject(ObjectType.EXPLOSION, spawnCordX * scaledTileSize, spawnCordY * scaledTileSize, graphicsContext);
explosionspawns.add(explosion);
runtimeInfo.setGameplayObjects(explosionspawns);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment