diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/EntityManager.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EntityManager.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EntityManager.cs b/OpenSim/Region/Framework/Scenes/EntityManager.cs index 85d0a4f..0defa93 100644 --- a/OpenSim/Region/Framework/Scenes/EntityManager.cs +++ b/OpenSim/Region/Framework/Scenes/EntityManager.cs | |||
@@ -34,7 +34,7 @@ using OpenMetaverse; | |||
34 | 34 | ||
35 | namespace OpenSim.Region.Framework.Scenes | 35 | namespace OpenSim.Region.Framework.Scenes |
36 | { | 36 | { |
37 | public class EntityManager //: IEnumerable<EntityBase> | 37 | public class EntityManager |
38 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
40 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); | 40 | private readonly DoubleDictionary<UUID, uint, EntityBase> m_entities = new DoubleDictionary<UUID, uint, EntityBase>(); |
@@ -143,19 +143,5 @@ namespace OpenSim.Region.Framework.Scenes | |||
143 | { | 143 | { |
144 | return m_entities.TryGetValue(key, out obj); | 144 | return m_entities.TryGetValue(key, out obj); |
145 | } | 145 | } |
146 | |||
147 | /// <summary> | ||
148 | /// This could be optimised to work on the list 'live' rather than making a safe copy and iterating that. | ||
149 | /// </summary> | ||
150 | /// <returns></returns> | ||
151 | //public IEnumerator<EntityBase> GetEnumerator() | ||
152 | //{ | ||
153 | // return GetEntities().GetEnumerator(); | ||
154 | //} | ||
155 | |||
156 | //IEnumerator IEnumerable.GetEnumerator() | ||
157 | //{ | ||
158 | // return GetEnumerator(); | ||
159 | //} | ||
160 | } | 146 | } |
161 | } | 147 | } |