PagedWorldSection CreateSection(PageStrategy strategy, SceneManager sceneMgr,
string sectionName)
{
string theName = sectionName;
if (theName == string.Empty)
{
do
{
theName = mSectionNameGenerator.GetNextUniqueName();
}
while (!mSections.ContainsKey(theName));
}
else if (mSections.ContainsKey(theName))
{
throw new Exception("World section named '" + theName + "' allready exists!" +
"[PageWorld.CreateSection]");
}
PagedWorldSection ret = new PagedWorldSection(theName, this, strategy, sceneMgr);
mSections.Add(theName, ret);
return ret;
}
/// <summary>