Exemplo n.º 1
0
 public void HurtSignalReceived(KinematicBody2D enemy)
 {
     if (GetInstanceId() == enemy.GetInstanceId())
     {
         QueueFree();
     }
 }