bullet(int x, int y, int x2, int y2, boolean a, int numb) {
        //assign values for the variables created in the class
        bulletX = x;
        bulletY = y;
        leftEnemy = a;//if it came from an enemy or not
        bulletAngle = Math.atan2((y2 - y), (x2 - x));
        tankNumber = numb;
    }