public ComponentFactory() { componentPool = new MultiTypePool <IBaseComponent>(128); PoolSize = 512; }
public ActionFactory() { cachedActions = new Dictionary <Type, IGameAction>(128); actionPools = new MultiTypePool <IGameAction>(256); }
public BehaviorFactory() { behaviorPools = new MultiTypePool <IBehavior>(); templateBehaviors = new Dictionary <string, IBehavior>(); }