예제 #1
0
파일: Human.cs 프로젝트: etheilred/MThree
 public void OnRingIsFound(object sender, RingIsFoundEventArgs e)
 {
     Console.WriteLine($"{Name} >> Wisard {((Wizard)sender).Name} has summoned. I am aimed at {e.Message}");
 }
예제 #2
0
파일: Hobbit.cs 프로젝트: etheilred/MThree
 public void OnRingIsFound(object sender, RingIsFoundEventArgs e)
 {
     Console.WriteLine($"{Name} >> Leaving Shire! Coming to {e.Message}");
 }
예제 #3
0
 public void OnRingIsFound(object sender, RingIsFoundEventArgs e)
 {
     Console.WriteLine($"{Name} >> Rush {e.Message}!!!, I am not in {Location}");
     Location = e.NewLoc;
 }
예제 #4
0
파일: Elf.cs 프로젝트: etheilred/MThree
 public void OnRingIsFound(object sender, RingIsFoundEventArgs e)
 {
     Console.WriteLine($"{Name} >> Stars are leaves push to go to {e.Message}");
 }