public BasicMovement(double x, double y, double direction, double momentum, int MAX_X, int MAX_Y, int ENTITY_HEIGHT, int ENTITY_WIDTH, Color color)
	{
		if(momentum < 0 || momentum > 2)
			throw new IllegalArgumentException("Momentum less than 0 or more than 2.");
		
		this.x = x;
		this.y = y;
		this.MAX_X = MAX_X;
		this.MAX_Y = MAX_Y;
		this.ENTITY_HEIGHT = ENTITY_HEIGHT;
		this.ENTITY_WIDTH = ENTITY_WIDTH;
		this.color = color;
		this.xDirection = Math.sin(Math.toRadians(direction));
		this.yDirection = Math.cos(Math.toRadians(direction));
		this.momentum = momentum;
		this.alive = true;
		this.willKill = false;
	}