public void tick()
    {

           super.tick();
           if(lifetime > 0)
           {
               lifetime--;
           }
           else
           {
               remove = true;
           }
           for(Entity e : level.entities)
           {
               if(this != e)
               {
                   if(this.x <= (e.x+e.sx) && (this.x+this.sx) >= e.x && this.y >= (e.y+e.sy) && (this.y+this.sy) >= e.y)
                   {
                       this.remove = true;
                       e.health -= damage;
                   }
               }
           }

    }