public void Clear()
 {
     Native.AccessPropertyAsInt(this, Native.Property.Instance, Native.Mode.Clear, 0);
 }
 public void DestroyScene()
 {
     Native.DestroyScene(this);
 }
 public void RemoveBody(Body body)
 {
     Native.RemoveBody(this, body); // invalidates body
     body.Invalidate();
 }
 public void ClearLastError()
 {
     Native.AccessPropertyAsInt(this, Native.Property.LastError, Native.Mode.Clear, 0);
 }
 /// <summary>
 /// Adds a body to the scene.
 /// </summary>
 /// <param name="body"></param>
 public void AddBody(Body body)
 {
     Native.AddBody(this, body);
 }