Exemplo n.º 1
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _State = ObjectStore.LoadGoalState("state");
     foreach (var Goal in ObjectStore.LoadGoals("sub-goals"))
     {
         _SubGoals.Add(Goal);
     }
 }
Exemplo n.º 2
0
        public override void Load(LoadObjectStore ObjectStore)
        {
            base.Load(ObjectStore);
            ObjectStore.LoadForEach("item", delegate(LoadObjectStore ItemObjectStore)
            {
                var Key   = ItemObjectStore.LoadStringProperty("key");
                var Value = ItemObjectStore.LoadProperty("value");

                _Items.Add(Key, Value);
            });
        }
Exemplo n.º 3
0
        public override void Load(LoadObjectStore ObjectStore)
        {
            base.Load(ObjectStore);

            var HasCount = ObjectStore.LoadBooleanProperty("has-count");

            if (HasCount == true)
            {
                Count = ObjectStore.LoadUInt32Property("count");
            }
            Behavior = ObjectStore.LoadObjectProperty <Goal>("behavior");
        }
Exemplo n.º 4
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _Desk = ObjectStore.LoadDeskProperty("desk");
 }
Exemplo n.º 5
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _TargetFloor = ObjectStore.LoadInt32Property("target-floor");
 }
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     X = ObjectStore.LoadDoubleProperty("x");
 }
Exemplo n.º 7
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _CleaningTarget  = ObjectStore.LoadDeskProperty("cleaning-target");
     _StartTrashLevel = ObjectStore.LoadDoubleProperty("start-trash-level");
 }
Exemplo n.º 8
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     Mind = ObjectStore.LoadMindProperty("mind");
 }
Exemplo n.º 9
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     State = ObjectStore.LoadTravelActionState("state");
 }
Exemplo n.º 10
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _RootGoal = ObjectStore.LoadGoalProperty("root-goal");
 }
Exemplo n.º 11
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _ActionState = ObjectStore.LoadActionStateProperty("action-state");
     _MinutesToActionStateChange = ObjectStore.LoadDoubleProperty("minutes-to-action-state-change");
 }
Exemplo n.º 12
0
 public virtual void Load(LoadObjectStore ObjectStore)
 {
 }
Exemplo n.º 13
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     Memory = ObjectStore.LoadMemoryProperty("memory");
 }
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _TravelActions = ObjectStore.LoadListProperty <TravelAction>("travel-actions");
 }
Exemplo n.º 15
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     _Location = ObjectStore.LoadVector2Property("location");
 }
Exemplo n.º 16
0
 public override void Load(LoadObjectStore ObjectStore)
 {
     base.Load(ObjectStore);
     Behaviors      = ObjectStore.LoadListProperty <Goal>("behaviors");
     _BehaviorIndex = ObjectStore.LoadInt32Property("behavior-index");
 }