Пример #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         BackSprite.Dispose();
     }
 }
Пример #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         spBack.Dispose();
     }
 }
Пример #3
0
        public virtual void Dispose()
        {
            // * Oprydningskode for maskinen
            foreach (GameEntity e in entities)
            {
                e.Dispose();
            }

            renderDevice.Dispose();
            dxSprite.Dispose();
        }