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