@@ -0,0 +1,902 @@
+package platformer.entity;%0A%0Aimport java.awt.Graphics2D;%0Aimport java.awt.Image;%0A%0Aimport platformer.resources.ImageLoader;%0Aimport platformer.start.Start;%0A%0Apublic class EntityBullet extends Entity%7B%0A%0A%09public Image image;%0A%09%0A%09public float angle = 0;%0A%09%0A%09public EntityBullet(float angle,int x,int y)%7B%0A%09%09this.angle = angle;%0A%09%09image = ImageLoader.loadImage(getClass(), %22/textures/misc/lazer.png%22);%0A%09%09this.posX = x;%0A%09%09this.posY = y;%0A%09%7D%0A%09%0A%09public void draw(Graphics2D g) %7B%0A%09%09g.translate(posX, posY);%0A%09%09g.rotate(-(angle+45+22.5));%0A%09%09g.drawImage(image, -74, -10, 32, 32, null);%0A%09%09g.rotate(angle+45+22.5);%0A%09%09g.translate(-posX, -posY);%0A%0A%0A%09%7D%0A%09%0A%0A%09public void update() %7B%0A%09%09 posX -= 10 * Math.sin(angle);%0A%09%09 posY -= 10 * Math.cos(angle);%0A%09%09 if(Start.instance.world.getBlock(posX/32, posY/32).canCollideWithPlayer()&&Start.instance.world.getBlock(posX/32, posY/32).canCollideWithPlayer())%7B%0A%09%09%09 this.dead = true;%0A%09%09 %7D%0A%09%7D%0A%0A%7D%0A

Create EntityBullet.java