@@ -0,0 +1,1063 @@
+package platformer.item;%0A%0Aimport java.awt.Color;%0Aimport java.awt.Graphics2D;%0Aimport java.util.Random;%0A%0Aimport platformer.entity.EntityBullet;%0Aimport platformer.resources.ImageLoader;%0Aimport platformer.start.Start;%0A%0Apublic class LightningGun extends Item%7B%0A%09public float time = 0;%0A%0A%09public LightningGun()%7B%0A%09  this.name = %22Plazma Rifle%22;%0A%09  this.damage = 10;%0A%09  this.texture = ImageLoader.loadImage(getClass(), %22/textures/items/lazergun.png%22);%0A%09%7D%0A%09Random rand = new Random();%0A%09double rotation = 0;%0A%09public void onItemUse(Graphics2D g) %7B%0A%09%09if(time%3E10)%7B%0A%09%09%09g.setColor(Color.GREEN);%0A%09%09%09 int x = Start.instance.p.posX+12;%0A%09         int y = Start.instance.p.posY+17;%0A%09         %0A%09         int deltaX = Start.in.mouseX - x;%0A%09         int deltaY = Start.in.mouseY - y;%0A%0A%09         rotation = -Math.atan2(deltaX, deltaY);%0A%0A%09         rotation = Math.toDegrees(rotation) + 180;%0A%09         %0A%09         Start.instance.world.entities.add(new EntityBullet((float)-Start.instance.p.armRot,Start.instance.p.posX+10,Start.instance.p.posY+20));%0A%09         time = 0;%0A%09%09%7D%0A%09%09time++;%0A%09%09%0A%09%7D%0A%0A%7D%0A

Create LightningGun.java