예제 #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;
 }
예제 #2
0
 public string GetMurderWeapon()
 {
     if (this.weaponProfileID == "")
     {
         Debug.LogError("This Murder Profile's murder weapon has not been assigned");
     }
     return(ProfileLibrary.GetWeapon(this.weaponProfileID));
 }
예제 #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));
     }
 }