private void InitWorldTierra() { world = new MundoTierra(); mockReferView = new MockReferView(); world.setRefer(mockReferView); world.setViewer(mockReferView); }
public void RodaSingleThread() { GC.Collect(); singleton = new MundoTierra(); singleton.setViewer(drawer); singleton.setRefer(frmPrincipal); drawer.SetMundo(singleton); singleton.runLoop(); }
public void Roda() { GC.Collect(); singleton = new MundoTierra(); drawer.SetMundo(singleton); singleton.setViewer(drawer); singleton.setRefer(frmPrincipal); //frmPrincipal.ClearRows("dataGridRuns"); Thread t = new Thread(staticRoda); t.Name = "BacktestRunner"; t.Start(); while (t.IsAlive) { Thread.Sleep(100); UpdateThreadTick(); } }