protected void FarseerPhysics_onRestart() { m_Test = Alt.GUI.FarseerPhysics.Demo.Testbed.Tests.CarTest.Create(); m_Test.Initialize(); ResetView(); FarseerPhysics_onFarseerPhysicsEnableOrDisableFlag(DebugViewFlags.DebugPanel); FarseerPhysics_onFarseerPhysicsEnableOrDisableFlag(DebugViewFlags.PerformanceGraph); }
void StartTest(int index) { entry = FarseerPhysicsTestEntries.TestList[index]; test = entry.CreateTest(); test.Initialize(); }