public static CopyOnWriteArrayList<Team> generate(int mode, int difficulty)
	{	// can easily add more teams, more ships, etc.
		switch(mode)
		{
			case VS_MODE:
				CopyOnWriteArrayList<Team> temp = new CopyOnWriteArrayList<Team>();
				temp.add(new Team(names[0], colors[0], 5, new Point(1000, 1000)));
				temp.add(new Team(names[1], colors[1], 5, new Point(3000, 3000)));
				Team player = temp.get(0);
				player.add(Ship.MOTHERSHIP, 1);
				player.add(Ship.DESTROYER, 3);
				player.add(Ship.FIGHTER, 10);
				
				for(int i = 1; i < temp.size(); i++)
				{
					Team t = temp.get(i);
					t.add(Ship.MOTHERSHIP, difficulty);
					t.add(Ship.DESTROYER, 1 + difficulty * 2);
					t.add(Ship.FIGHTER, 5 + difficulty * 5);
				}
				return temp;
			default:
				return null;
		}
	}