* Refactor: Renaming various *Entity*() methods to *Object*() methods on the basis that they all take SOG parameters to improve code readability for now

This commit is contained in:
Justin Clarke Casey
2008-05-24 22:10:14 +00:00
parent 42693f3b20
commit 79eecd3d25
8 changed files with 46 additions and 22 deletions

View File

@@ -76,7 +76,7 @@ namespace OpenSim.Region.Examples.SimpleModule
}
FileSystemObject fileObject = new FileSystemObject(m_scene, fileInfo, filePos);
m_scene.AddEntity(fileObject);
m_scene.AddObject(fileObject);
fileObject.ScheduleGroupForFullUpdate();
}
}
@@ -107,7 +107,7 @@ namespace OpenSim.Region.Examples.SimpleModule
ComplexObject complexObject =
new ComplexObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(),
pos + posOffset);
m_scene.AddEntity(complexObject);
m_scene.AddObject(complexObject);
}
}
@@ -116,7 +116,7 @@ namespace OpenSim.Region.Examples.SimpleModule
SceneObjectGroup sceneObject =
new CpuCounterObject(m_scene, regionInfo.RegionHandle, LLUUID.Zero, m_scene.PrimIDAllocate(),
pos + new LLVector3(1f, 1f, 1f));
m_scene.AddEntity(sceneObject);
m_scene.AddObject(sceneObject);
}
public void Close()