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