Exemple #1
0
 public SocialGame(Subject typeOfGame, float comfort, float consideration, float curiosity)
 {
     gameType = typeOfGame;
     comfortOffsets = comfort;
     considerationOffsets = consideration;
     curiosityOffsets = curiosity;
 }
Exemple #2
0
 public SocialGame(Subject typeOfGame, float comfortThresh, float curiosityThresh)
 {
     gameType = typeOfGame;
     comfortThreshold = comfortThresh;
     curiosityThreshold = curiosityThresh;
     comfortOffsets = 0;
     considerationOffsets = 0;
     curiosityOffsets = 0;
 }
Exemple #3
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;
        }
Exemple #4
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;
 }
Exemple #5
0
        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;
        }
Exemple #6
0
 public GameChoice(Subject s, String choice)
 {
     gameSubject = s;
     choiceName = choice;
 }
Exemple #7
0
 public GameChoice(Subject s)
 {
     gameSubject = s;
     choiceName = "";
 }