Esempio n. 1
0
 private void RaiseActionPerformedEvent(object sender, string result)
 {
     OnActionPerformed?.Invoke(this, result);
 }
Esempio n. 2
0
 protected void ReportResult(string result)
 {
     OnActionPerformed?.Invoke(this, result);
 }
Esempio n. 3
0
 private void RaiseActionPerformedEvent(object sender, string result)   //pass the weapon’s message up to the UI – which is only watching for events on the LivingEntity
 {
     OnActionPerformed?.Invoke(this, result);
 }
Esempio n. 4
0
 private void ReportResult(string result)
 {
     OnActionPerformed?.Invoke(this, result);
 }
Esempio n. 5
0
 /// <summary>
 /// Consumes an action.
 /// </summary>
 protected void ConsumeAction()
 {
     ActionsPerformed++;
     OnActionPerformed?.Invoke(this, new EventArgs());
 }