public void loadLevel()
	{
		if (Vector.d.updateList != null && !Vector.d.updateList.isEmpty())
		{
			Vector.d.updateList.clear();
		}
		if (player != null)
		{
			Vector.d.addKeyListener(player);

			for (int i = 0; i < walls.size(); i ++)
			{
				Vector.d.updateList.add(walls.get(i));
			}
			for (int i = 0; i < triggers.size(); i ++)
			{
				Vector.d.updateList.add(triggers.get(i));
			}
			for (int i = 0; i < enemies.size(); i ++)
			{
				Vector.d.updateList.add(enemies.get(i));
			}
			for (int i = 0; i < messages.size(); i ++)
			{
				Vector.d.updateList.add(messages.get(i));
			}
			for (int i = 0; i < pushables.size(); i ++)
			{
				Vector.d.updateList.add(pushables.get(i));
			}

			Vector.d.updateList.add(player);
		}
		else
		{
			System.out.println("Please make sure each level contains a player.");
			return;
		}
		if (levelEnd != null)
		{
			Vector.d.updateList.add(levelEnd);
		}
		else
		{
			System.out.println("Please make sure each level contains an exit.");
		}
	}