public Ball(int positionx, int positiony, int radius, int pathmode, int touchmode, Vector<int[]> Lines, Vector<int[]> Goals, PathCollector PCol,  boolean pause)
	{
		this.PCol = PCol;
		position[0] = positionx;
		position[1] = positiony;
		prepoint[0] = position[0];
		prepoint[1] = position[1];
		destination[0] = position[0];
		destination[1] = position[1];
		this.radius = radius;
		this.touchmode = touchmode;
		this.Reflines = Lines;
		this.Goals = Goals;		
		this.pause = pause;
		this.pathmode = pathmode;
		if(this.pathmode == MODE_TREE_BROAD)
		{
			Farbe = Color.ORANGE;
		}
		else if(this.pathmode == MODE_TREE_DEEP)
		{
			Farbe = Color.RED;
		}
		else if(pathmode == MODE_POINT)
		{
			Farbe = Color.BLUE;
		}
		else
		{
			Farbe = Color.YELLOW;
			touchmode = MODE_TOUCH;
		}
		
		//Neuen Thread erstellen und starten
		T = new Thread(this);
		T.start();
	}