protected virtual void Dispose(bool disposing) { if (disposing) { BackSprite.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { spBack.Dispose(); } }
public virtual void Dispose() { // * Oprydningskode for maskinen foreach (GameEntity e in entities) { e.Dispose(); } renderDevice.Dispose(); dxSprite.Dispose(); }