public EntityEngine()
 {
     errorEventArgCache = new List <Events.ErrorEventArgs>();
     ErrorEvent        += new Events.ErrorEventHandler((sender, e) =>
     {
         this.errorEventArgCache.Add(e);
     });
     EFTProcessFrameEvent += new Events.EFTProcessFrameHandler((sender, e) =>
     {
         if (FrameSystemUpdate)
         {
             OnETFSystemUpdate(sender, new Events.EFTSystemUpdateEventArgs {
             });
         }
         if (FrameRenderPhysics)
         {
             OnETFRenderPhysics(sender, new Events.EFTRenderPhysicsEventArgs {
             });
         }
         if (FrameRenderDraw)
         {
             OnETFRenderDraw(sender, new Events.EFTRenderDrawEventArgs {
             });
         }
     }
                                                               );
 }
 public EntityEngine()
 {
     errorEventArgCache = new List<Events.ErrorEventArgs>();
     ErrorEvent += new Events.ErrorEventHandler((sender, e) =>
     {
         this.errorEventArgCache.Add(e);
     });
     EFTProcessFrameEvent += new Events.EFTProcessFrameHandler((sender, e) =>
     {
         if (FrameSystemUpdate)
             OnETFSystemUpdate(sender, new Events.EFTSystemUpdateEventArgs { });
         if (FrameRenderPhysics)
             OnETFRenderPhysics(sender, new Events.EFTRenderPhysicsEventArgs { });
         if (FrameRenderDraw)
             OnETFRenderDraw(sender, new Events.EFTRenderDrawEventArgs { });
     }
     );
 }