public override void Kill() { base.Kill(); if (nameElement != null) { graphicsHandler.RemoveShape(nameElement); } nameElement = null; inputHandler.Dispose(); }
public void Dispose() { _inputHandler?.Dispose(); }