Пример #1
0
 /// <summary>
 ///     アンマネージなBulletを手動で捨てる
 /// </summary>
 public void Dispose()
 {
     bulletPhysics.Dispose();
 }
Пример #2
0
 protected override void OnHandleDestroyed(EventArgs e)
 {
     base.OnHandleDestroyed(e);
     bulletPhysics.Dispose();
 }
Пример #3
0
 protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
 {
     //Close the physics
     physics_world.Dispose();
     base.OnClosing(e);
 }