public static int getXpForLevel(int level)
	{
		if (level < 1 || level > MAX_VIRT_LEVEL)
		{
			throw new IllegalArgumentException(level + " is not a valid level");
		}

		// XP_FOR_LEVEL[0] is XP for level 1
		return XP_FOR_LEVEL[level - 1];
	}
@Test
	public void testGetXpForLevel()
	{
		int xp = Experience.getXpForLevel(99);
		assertEquals(XP_FOR_99, xp);

		xp = Experience.getXpForLevel(126);
		assertEquals(XP_FOR_126, xp);

		xp = Experience.getXpForLevel(1);
		assertEquals(0, xp);
	}