示例#1
0
 public void PerformAction(LivingEntity actor, LivingEntity target)
 {
     Action?.Execute(actor, target);
 }
示例#2
0
 public void UseCurrentWeaponOn(LivingEntity target)
 {
     CurrentWeapon.PerformAction(this, target);
 }
示例#3
0
 public void PerformAction(LivingEntity actor, LivingEntity victim)
 {
     Action?.Execute(actor, victim);
 }
示例#4
0
 public void UseCurrentWeaponOn(LivingEntity target)   //wrapper function that the ViewModel will use to initiate an attack
 {
     CurrentWeapon.PerformAction(this, target);
 }
示例#5
0
 public void UseCurrentSpell(LivingEntity victim)
 {
     CurrentSpell.PerformAction(this, victim);
 }