Esempio n. 1
0
        private void importantItemsRemoveRapierBtn_Click(object sender, EventArgs e)
        {
            var index = importantItemsHeroesComboBox.SelectedIndex;

            if (index == -1)
            {
                return;
            }

            var command = new ImportantItemRemoved {
                Item = "rapier", Member = index
            };

            _playerController.Execute(command);
        }
Esempio n. 2
0
 protected virtual void OnImportantItemRemoved(ImportantItemRemovedEventArgs e)
 {
     ImportantItemRemoved?.Invoke(this, e);
 }