Exemple #1
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _Computer   = ObjectStore.LoadComputerProperty("computer");
     _Janitor    = ObjectStore.LoadJanitorProperty("janitor");
     _Office     = ObjectStore.LoadOfficeProperty("office");
     _Person     = ObjectStore.LoadPersonProperty("person");
     _Rectangle  = ObjectStore.LoadRectangleProperty("rectangle");
     _TrashLevel = ObjectStore.LoadDoubleProperty("trash-level");
 }
Exemple #2
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _MinutesUntilBroken = ObjectStore.LoadDoubleProperty("minutes-until-broken");
     _Rectangle          = ObjectStore.LoadRectangleProperty("rectangle");
 }