protected override void OnDispose(bool disposing) { foreach (var s in shapes) { s.Dispose(); } scene.RemoveActor(this); }