예제 #1
0
 public void ShowNPCDialogPart(DialogParser dialogParser)
 {
     Console.WriteLine("{0}: {1}", nonPlayerCharacter.name, dialogParser.ParseDialog(this));
     foreach (HeroDialogPart heroDialogPart in heroDialogParts)
     {
         heroDialogPart.ShowHeroDialogPart(dialogParser);
     }
 }
예제 #2
0
 public NPCDialogPart GetNPCDialogPart(DialogParser dialogParser)
 {
     Console.WriteLine("{0}", dialogParser.ParseDialog(this));
     return(npcDialogPart);
 }
예제 #3
0
 public void ShowHeroDialogPart(DialogParser dialogParser)
 {
     Console.WriteLine("[{0}] {1}: {2}", idHeroDialogPart, hero.name, dialogParser.ParseDialog(this));
 }