public void damage(Vector2f lineStart, Vector2f lineEnd, Vector2f nearestIntersection)
    {
        Vector2f nearestBotIntersect = null;
        Enemies nearestBot = null;
        for (Enemies enemies : enemises)
        {
            Vector2f colVector = Game.getLevel().lineInterSectRect(lineStart, lineEnd, new Vector2f(enemies.getTransform().getTranslation().getX(), enemies.getTransform().getTranslation().getZ()), enemies.getSize());

            @SuppressWarnings("unused")
			Vector2f lastBotIntersect = nearestBotIntersect;
            nearestBotIntersect = Game.getLevel().findNearestIntesection(nearestBotIntersect, colVector, lineStart);

            if(nearestBotIntersect == colVector)
            {
                nearestBot = enemies;
            }
        }

        if(nearestBotIntersect != null &&  (nearestIntersection == null ||
                nearestBotIntersect.sub(lineStart).length() < nearestIntersection.sub(lineStart).length()))
        {
            if (nearestBot.state != Enemies.STATE_DEAD) {
                nearestBot.getMaterial().setTexture(nearestBot.getTextures().get(7));
                if(nearestBot != null)
                    nearestBot.damage(Game.getLevel().getPlayer().getDamage());
            } else
            {
                enemises.remove(nearestBot);
            }
        }
    }