Beispiel #1
0
 public void UnloadMap()
 {
     _tiledMap.Dispose();
     _tileColliderBoxes.Clear();
     _colliderTexture.Dispose();
     _spikesTexture.Dispose();
 }
Beispiel #2
0
 protected override void UnloadContent()
 {
     _tiledMap.Dispose();
     _world.Dispose();
 }
Beispiel #3
0
 void MiniScreen.Unload()
 {
     effect.Dispose();
     debug.Dispose();
     tMap.Dispose();
 }
 private void Dispose(bool disposing)
 {
     userInterfaceManager.Dispose();
     tiledMap.Dispose();
 }
Beispiel #5
0
 public void UnloadMap()
 {
     _tiledMap.Dispose();
     _tileColliderBoxes.Clear();
 }