コード例 #1
0
 public void InteractWith(NpcActionTypeEnum actionType, Character dialoguer)
 {
     if (this.CanInteractWith(actionType, dialoguer))
     {
         TaxCollectorInfoDialog taxCollectorInfoDialog = new TaxCollectorInfoDialog(dialoguer, this);
         taxCollectorInfoDialog.Open();
     }
 }
コード例 #2
0
        public void InteractWith(NpcActionTypeEnum actionType, Character dialoguer)
        {
            if (!CanInteractWith(actionType, dialoguer))
            {
                return;
            }

            var dialog = new TaxCollectorInfoDialog(dialoguer, this);

            dialog.Open();
        }