private void BindDirectNeedFields()
 {
     this.mood    = this.TryGetNeed <Need_Mood>();
     this.food    = this.TryGetNeed <Need_Food>();
     this.rest    = this.TryGetNeed <Need_Rest>();
     this.joy     = this.TryGetNeed <Need_Joy>();
     this.beauty  = this.TryGetNeed <Need_Beauty>();
     this.comfort = this.TryGetNeed <Need_Comfort>();
     this.space   = this.TryGetNeed <Need_Space>();
 }
Example #2
0
 private void BindDirectNeedFields()
 {
     mood     = TryGetNeed <Need_Mood>();
     food     = TryGetNeed <Need_Food>();
     rest     = TryGetNeed <Need_Rest>();
     joy      = TryGetNeed <Need_Joy>();
     beauty   = TryGetNeed <Need_Beauty>();
     comfort  = TryGetNeed <Need_Comfort>();
     roomsize = TryGetNeed <Need_RoomSize>();
     outdoors = TryGetNeed <Need_Outdoors>();
 }
Example #3
0
 private void BindDirectNeedFields()
 {
     this.mood     = this.TryGetNeed <Need_Mood>();
     this.food     = this.TryGetNeed <Need_Food>();
     this.rest     = this.TryGetNeed <Need_Rest>();
     this.joy      = this.TryGetNeed <Need_Joy>();
     this.beauty   = this.TryGetNeed <Need_Beauty>();
     this.comfort  = this.TryGetNeed <Need_Comfort>();
     this.roomsize = this.TryGetNeed <Need_RoomSize>();
     this.outdoors = this.TryGetNeed <Need_Outdoors>();
 }
Example #4
0
 public static void GetThoughtGroupsInDisplayOrder(Need_Mood mood, List <Thought> outThoughtGroupsPresent)
 {
     mood.thoughts.GetDistinctMoodThoughtGroups(outThoughtGroupsPresent);
     for (int num = outThoughtGroupsPresent.Count - 1; num >= 0; num--)
     {
         if (!outThoughtGroupsPresent[num].VisibleInNeedsTab)
         {
             outThoughtGroupsPresent.RemoveAt(num);
         }
     }
     outThoughtGroupsPresent.SortByDescending((Thought t) => mood.thoughts.MoodOffsetOfGroup(t), (Thought t) => t.GetHashCode());
 }
 private void BindDirectNeedFields()
 {
     mood        = TryGetNeed <Need_Mood>();
     food        = TryGetNeed <Need_Food>();
     rest        = TryGetNeed <Need_Rest>();
     joy         = TryGetNeed <Need_Joy>();
     beauty      = TryGetNeed <Need_Beauty>();
     comfort     = TryGetNeed <Need_Comfort>();
     roomsize    = TryGetNeed <Need_RoomSize>();
     outdoors    = TryGetNeed <Need_Outdoors>();
     drugsDesire = TryGetNeed <Need_Chemical_Any>();
     authority   = null;
 }