@@ -0,0 +1,958 @@
+package platformer.entity;%0A%0Aimport java.awt.Color;%0Aimport java.awt.Graphics2D;%0A%0Aimport platformer.effect.Particle;%0Aimport platformer.resources.ImageLoader;%0Aimport platformer.start.Start;%0A%0Apublic class EntityBomb extends Entity%7B%0Aint timer = 0;%0Aint targetX = 0;%0Aint targetY = 0;%0Apublic EntityBomb(int targetX, int targetY)%7B%0A%09this.targetX = targetX;%0A%09this.targetY = targetY;%0A%7D%0A%09public void draw(Graphics2D g) %7B%0A%09%09g.setColor(Color.DARK_GRAY);%0A%09g.fillOval(posX, posY, 10, 10);%09%0A%09%7D%0A%0A%09public void update() %7B%0A%09%09Start.instance.world.addEntity(new Particle(ImageLoader.loadImage(getClass(), %22/textures/misc/flame.png%22), 20), posX, posY);%0A%09%09if(posX %3E targetX-10 && posX %3C targetX+10&&posY %3E targetY-10 && posY %3C targetY+10)%7B%0A%09%09%09Start.instance.world.doomexplosion(posX, posY, 90);%0A%09%09%09this.dead = true;%0A%09%09%7D%0A%09%09%0A%09%09if(posX %3C targetX)%7B%0A%09%09%09posX+=10;%0A%09%09%7D%0A%09%09if(posX %3E targetX)%7B%0A%09%09%09posX-=10;%0A%09%09%7D%0A%09%09if(posY %3C targetY)%7B%0A%09%09%09posY+=10;%0A%09%09%7D%0A%09%09if(posY %3EtargetY)%7B%0A%09%09%09posY-=10;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create EntityBomb.java