Beispiel #1
0
 public NpcPlayer(String name, String role, Hint text)
     : base()
 {
     this.name = name;
     this.role = role;
     this.hints = new HashSet<Hint>();
     hints.Add(text);
 }
Beispiel #2
0
 /// <summary>
 /// Logs a given hint, so that hint must not be found again.
 /// </summary>
 /// <param name="hint">The hint to log</param>
 public void logHint(Hint hint)
 {
     if (hint != null && !human.foundHints.Contains(hint))
     {
         human.foundHints.Add(hint);
     }
 }