Diff of /branches/taiga-0.1/ModularRex/RexParts/ModrexObjects.cs
Parent Directory
|
Revision Log
|
Patch
| revision 179, Fri Jun 5 06:38:00 2009 UTC | revision 286, Thu Dec 3 16:03:57 2009 UTC | |
|---|---|---|
| # | Line 15 | Line 15 |
| 15 | ||
| 16 | namespace ModularRex.RexParts | namespace ModularRex.RexParts |
| 17 | { | { |
| 18 | public class ModrexObjects : IRegionModule, IRexObjectPropertiesEventManager | public class ModrexObjects : IRegionModule, IRexObjectPropertiesEventManager, IModrexObjectsProvider |
| 19 | { | { |
| 20 | private static readonly ILog m_log = | private static readonly ILog m_log = |
| 21 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
| # | Line 34 | Line 34 |
| 34 | m_scenes.Add(scene); | m_scenes.Add(scene); |
| 35 | ||
| 36 | scene.RegisterModuleInterface<ModrexObjects>(this); | scene.RegisterModuleInterface<ModrexObjects>(this); |
| 37 | scene.RegisterModuleInterface<IModrexObjectsProvider>(this); | |
| 38 | scene.EventManager.OnClientConnect += EventManager_OnClientConnect; | scene.EventManager.OnClientConnect += EventManager_OnClientConnect; |
| 39 | scene.SceneContents.OnObjectDuplicate += SceneGraph_OnObjectDuplicate; | scene.SceneContents.OnObjectDuplicate += SceneGraph_OnObjectDuplicate; |
| 40 | scene.SceneContents.OnObjectRemove += SceneGraph_OnObjectRemove; | scene.SceneContents.OnObjectRemove += SceneGraph_OnObjectRemove; |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

