store traits differently (index on trait class rather than actor)

This commit is contained in:
Bob
2010-08-14 20:11:54 +12:00
committed by Chris Forbes
parent f4da83e920
commit c0d0636e08
6 changed files with 151 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ namespace OpenRA
{
public class World
{
internal TraitDictionary traitDict = new TraitDictionary();
Set<Actor> actors = new Set<Actor>();
List<IEffect> effects = new List<IEffect>();
Queue<Action<World>> frameEndActions = new Queue<Action<World>>();