Exemple #1
0
 public void AttackOccurred(Attack.Direction direction, Attack.Orientation orientation)
 {
     if (direction == attack.direction && orientation == attack.orientation)
     {
         PlayAttack();
     }
 }
Exemple #2
0
 internal void Attack(Attack.Type type, Attack.Direction direction, int index)
 {
     if (OnAttack != null)
     {
         OnAttack(type, direction, index);
     }
 }