Exemplo n.º 1
0
 public void RegisterMurderProfile(MurderProfile mp)
 {
     this.rounds[this.currentRound] = mp;
     deadCharacter = mp.murderedCharacterID;
     weapon        = ProfileLibrary.GetWeapon(mp.weaponProfileID);
     location      = ProfileLibrary.GetLocation(mp.locationProfileID);
     discoverer    = mp.bodyDiscovererID;
 }
Exemplo n.º 2
0
 public string GetMurderLocation()
 {
     if (this.locationProfileID == "")
     {
         Debug.LogError("This Murder Profile's murder location has not been assigned");
     }
     return(ProfileLibrary.GetLocation(this.locationProfileID));
 }
Exemplo n.º 3
0
 public string GetAnswerText()
 {
     if (type == QuestionType.tool)
     {
         return(ProfileLibrary.GetWeapon(answerID));
     }
     else if (type == QuestionType.place)
     {
         return(ProfileLibrary.GetLocation(answerID));
     }
     else
     {
         return(ProfileLibrary.GetOpccupation(answerID));
     }
 }