void Field_ResourceBallChanged(object sender, ResourceBallEventArg e) { if (e.BornOrDie) { e.ResourceBall.InitializeGraphics(renderSys); scene.Scene.AddObjectToScene(e.ResourceBall); } else { scene.Scene.RemoveObjectFromScene(e.ResourceBall); } }