Esempio n. 1
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _Bottom             = ObjectStore.LoadDoubleProperty("bottom");
     _Height             = ObjectStore.LoadDoubleProperty("height");
     _Left               = ObjectStore.LoadDoubleProperty("left");
     _MinutesUntilBroken = ObjectStore.LoadDoubleProperty("minutes-until-broken");
     _Office             = ObjectStore.LoadOfficeProperty("office");
     _Width              = ObjectStore.LoadDoubleProperty("width");
 }
Esempio n. 2
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");
 }
Esempio n. 3
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _BackgroundColor = ObjectStore.LoadColorProperty("background-color");
     _BorderColor     = ObjectStore.LoadColorProperty("border-color");
     _Height          = ObjectStore.LoadDoubleProperty("height");
     _Office          = ObjectStore.LoadOfficeProperty("office");
     _Width           = ObjectStore.LoadDoubleProperty("width");
     _X = ObjectStore.LoadDoubleProperty("x");
     _Y = ObjectStore.LoadDoubleProperty("y");
 }