public int assignPlayer(String name)
	{
		for(int i = 1; i <=4 ; i++)
		{
			if(players.get(i).isEmpty())
			{
				players.add(i, new Player(new Bat(new Point2D.Float(50, 400), new Point2D.Double(5,100), 2,new Point2D.Float(0, -4)), 0, name));
				return i;
			}
		}
		return 0;
	}