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>(); }
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>(); }
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>(); }
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; }