public Unit findUnitByID(int ID, String type)
    {
	List<Unit> temp = m_enemies;
	
	if (type.equals("player"))
	{
	    temp = m_players;
	}
	
	if (temp.size() != 0)
	{
	    boolean fail = true;
	    for (Unit u : temp)
	    {
		if (u.getID() == ID)
		{
		    // System.out.println(u.getID() + "-" + ID);
		    // System.out.println(type);
		    if (type.equals("player"))
		    {
			// System.out.println("Returning player");
			return (DungeonPlayer) m_players.get(ID);
		    }
		    else if (type.equals("enemy"))
		    {
			// System.out.println("Returning enemy");
			return (DungeonEnemy) m_enemies.get(ID);
		    }
		}
	    }
	    if (fail)
	    {
		throw new DungeonGameException("Find Unit By ID - FAILED");
	    }
	}
	return null;
    }