Esempio n. 1
0
        public ComponentFactory()
        {
            componentPool = new MultiTypePool <IBaseComponent>(128);

            PoolSize = 512;
        }
 public ActionFactory()
 {
     cachedActions = new Dictionary <Type, IGameAction>(128);
     actionPools   = new MultiTypePool <IGameAction>(256);
 }
Esempio n. 3
0
 public BehaviorFactory()
 {
     behaviorPools     = new MultiTypePool <IBehavior>();
     templateBehaviors = new Dictionary <string, IBehavior>();
 }