public DungeonManager()
 {
     if (instance == null)
     {
         itemFactoryManager = ItemFactoryManager.loadItemFactoryManager("SavedItems.dat");
     }
     else throw new Exception("Do not instansiate DungeonManager. Use getInstance()");
 }
 /// <summary>
 /// Sets the current IFM.
 /// </summary>
 /// <param name="itemFactoryManager"></param>
 public void setItemFactoryManager(ItemFactoryManager itemFactoryManager)
 {
     this.itemFactoryManager = itemFactoryManager;
 }