Beispiel #1
0
        public void Initialize(int creationIndex, int totalComponents, Stack <IComponent>[] componentPools, ContextInfo contextInfo = null, IAERC aerc = null)
        {
            Reactivate(creationIndex);

            _totalComponents = totalComponents;
            _components      = new IComponent[totalComponents];
            _componentPools  = componentPools;

            _contextInfo = contextInfo ?? createDefaultContextInfo();
            _aerc        = aerc ?? new SafeAERC(this);
        }
Beispiel #2
0
 public void Before()
 {
     _aerc = new SafeAERC(null);
 }