public Projectile(double x, double y, double endX, double endY, Color color)
	{
		super(x, y, 0.0, 1.0, Integer.MAX_VALUE, Integer.MAX_VALUE, 15, color);
		double a = x - endX;
		double b = y - endY;
		double atan = Math.atan2(a, b);
		
		this.xDirection = Math.sin(atan);
		this.yDirection = Math.cos(atan);
		
		xDirection *= -1;
		yDirection *= -1;

		this.deathCounter = (int) Math.sqrt((a * a) + (b * b));
		setAlive(true);
		setKill(true);
	}