public SocialGame(Subject typeOfGame, float comfort, float consideration, float curiosity) { gameType = typeOfGame; comfortOffsets = comfort; considerationOffsets = consideration; curiosityOffsets = curiosity; }
public SocialGame(Subject typeOfGame, float comfortThresh, float curiosityThresh) { gameType = typeOfGame; comfortThreshold = comfortThresh; curiosityThreshold = curiosityThresh; comfortOffsets = 0; considerationOffsets = 0; curiosityOffsets = 0; }
List<String> targetScript; //What the target says. #endregion Fields #region Constructors public SocialGame(Subject typeOfGame) { gameType = typeOfGame; comfortThreshold = 0; //considerationThreshold = 0; curiosityThreshold = 0; comfortOffsets = 0; considerationOffsets = 0; curiosityOffsets = 0; }
//Search by subject public List<SocialFact> getSocialFactsBySubject(Subject bySubject) { List<SocialFact> factsFound = new List<SocialFact>(); foreach (SocialFact sf in events) { if (sf.gamePlayed.gameType.SubjectName.Equals(bySubject.SubjectName)) { factsFound.Add(sf); } } return factsFound; }
public Topic getTopic(Subject s) { Topic t = new Topic(); foreach (Topic tt in TopicList) { if (tt.Subjects.Contains(s)) { s.comfortThreshold = tt.comfortThreshold; s.considerationThreshold = tt.considerationThreshold; s.curiosityThreshold = tt.curiosityThreshold; t = tt; } } return t; }
public GameChoice(Subject s, String choice) { gameSubject = s; choiceName = choice; }
public GameChoice(Subject s) { gameSubject = s; choiceName = ""; }