public virtual void Dispose() { if (animation != null) { animation.Dispose(); } }
public void Dispose() { this.visible = false; if (image != null) { image.Dispose(); image = null; } if (animation != null) { animation.Dispose(); animation = null; } }
public virtual void Dispose() { if (animation != null) { animation.Dispose(); } }
public void Dispose() { this.visible = false; if (image != null) { image.Dispose(); image = null; } if (animation != null) { animation.Dispose(); animation = null; } }