Example #1
0
 public LocationViewModel()
 {
     DBhelper = new DBhelper();
     DBhelper.FillAllDefaultData();
     LocationsDict        = DBhelper.GetLocationDict();
     this.CurrentLocation = DBhelper.GetLocationById(App.PlayerViewModel.Player.InLocationId);
 }
Example #2
0
 public CachLocation()
 {
     DBhelper             = new DBhelper();
     LocationsDict        = DBhelper.GetLocationDict();
     this.CurrentLocation = DBhelper.GetWithChildrenById <Location>(1);
 }