public void InteractWith(NpcActionTypeEnum actionType, Character dialoguer) { if (this.CanInteractWith(actionType, dialoguer)) { TaxCollectorInfoDialog taxCollectorInfoDialog = new TaxCollectorInfoDialog(dialoguer, this); taxCollectorInfoDialog.Open(); } }
public void InteractWith(NpcActionTypeEnum actionType, Character dialoguer) { if (!CanInteractWith(actionType, dialoguer)) { return; } var dialog = new TaxCollectorInfoDialog(dialoguer, this); dialog.Open(); }