Exemple #1
0
    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);
    }
Exemple #2
0
 void StartTest(int index)
 {
     entry = FarseerPhysicsTestEntries.TestList[index];
     test  = entry.CreateTest();
     test.Initialize();
 }