Beispiel #1
0
 public static void Reset()
 {
     //Logger.Debug("[ScenesStorage] Reseting");
     CurrentWorldSceneIds.Clear();
     CurrentWorldScenes.Clear();
     TrinityGrid.ResetAll();
     Update();
 }
Beispiel #2
0
 public static TrinityGrid GetWorldGrid()
 {
     if (_currentGrid == null ||
         AdvDia.CurrentWorldDynamicId != _currentGrid.WorldDynamicId)
     {
         _currentGrid = new TrinityGrid();
     }
     return(_currentGrid);
 }
Beispiel #3
0
 public static TrinityGrid GetWorldGrid()
 {
     if (_currentGrid == null)
     {
         _currentGrid = new TrinityGrid();
     }
     else if (_currentGrid == null || ZetaDia.Globals.WorldId != _currentGrid.WorldDynamicId)
     {
         _currentGrid = new TrinityGrid();
     }
     return(_currentGrid);
 }