Esempio n. 1
0
 /// <summary>Update the tracked values.</summary>
 /// <param name="watcher">The player watcher to snapshot.</param>
 public void Update(PlayerTracker watcher)
 {
     this.Location.Update(watcher.LocationWatcher);
     foreach (var pair in this.Skills)
     {
         pair.Value.Update(watcher.SkillWatchers[pair.Key]);
     }
     this.InventoryChanges = watcher.GetInventoryChanges().ToArray();
 }